lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 12 Dec 2007 16:08:43 -0700
From:	ebiederm@...ssion.com (Eric W. Biederman)
To:	Randy Dunlap <randy.dunlap@...cle.com>
Cc:	Greg KH <greg@...ah.com>, "H. Peter Anvin" <hpa@...or.com>,
	"Huang, Ying" <ying.huang@...el.com>, akpm@...ux-foundation.org,
	Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>, Andi Kleen <ak@...e.de>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH -mm -v2] x86 boot : export boot_params via sysfs

Randy Dunlap <randy.dunlap@...cle.com> writes:

> I don't know if this patch is trying to solve this (->) problem, but there
> is a desire for drivers to have a decent way to tell if the kernel that
> is executing is a kexec/crash kernel or not.  If it is a kexec/crash
> kernel, then (some) drivers may not allocate as many buffers as they
> normally do, since the kernel would likely be configured to use
> less memory.  The solution doesn't have to involve sysfs .. or it could.

The patch is trying to make it easier to observe new fields passed to
the kernel by the bootloader in user space.

The drivers should have a way to look at the amount of memory the
kernel is configured to use and operate on that.  I expect this is a
general embedded scenario.

I don't think I have seen a driver concern in the kdump environment
that is unique to that environment.  So in general I figure we should
use whatever it is that is different about the kdump environment that
the causes the drivers to want to do something differently, so the
changes can ideally support more people.

Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ