Re: [PATCH 14(16] pramfs: memory protection

2010-10-12 Thread Andi Kleen
On Mon, Oct 11, 2010 at 07:32:10PM +0200, Marco Stornelli wrote: Il 10/10/2010 18:46, Andi Kleen ha scritto: This won't work at all on x86 because you don't handle large pages. And it doesn't work on x86-64 because the first 2GB are double mapped (direct and kernel text mapping

Re: [PATCH 14(16] pramfs: memory protection

2010-10-12 Thread Andi Kleen
per-arch?! Wow. Mmm...maybe I have to change something at fs level to avoid that. An alternative could be to use the follow_pte solution but avoid the protection via Kconfig if the fs is used on some archs (ia64 or MIPS), with large pages and so on. An help of the kernel community to know all

Re: [PATCH 14(16] pramfs: memory protection

2010-10-10 Thread Andi Kleen
Marco Stornelli marco.storne...@gmail.com writes: + + do { + pgd = pgd_offset(init_mm, address); + if (pgd_none(*pgd) || unlikely(pgd_bad(*pgd))) + goto out; + + pud = pud_offset(pgd, address); + if (pud_none(*pud) ||

Re: New MMC maintainer needed

2009-07-23 Thread Andi Kleen
Stephen Rothwell s...@canb.auug.org.au writes: Hi Andrew, On Thu, 23 Jul 2009 00:32:28 -0700 Andrew Morton a...@linux-foundation.org wrote: It gets easy if I remove linux-next.patch from -mm. Maybe I'll do that. At that point we could add the stable part of -mm to linux-next :-) I

Re: [PATCH] Wait for console to become available, v2

2009-04-19 Thread Andi Kleen
VomLehn dvoml...@cisco.com writes: History v2Wait for the preferred console rather than any console. Make the delay interval a tunable. CONFIG tunables are usually a bad idea. What should a binary distribution kernel set? Better make it a boot option with a reasonable default. Also

Re: [PATCH] Wait for console to become available, v2

2009-04-19 Thread Andi Kleen
On Sun, Apr 19, 2009 at 09:23:36AM -0700, David VomLehn wrote: Andi Kleen wrote: VomLehn dvoml...@cisco.com writes: History v2 Wait for the preferred console rather than any console. Make the delay interval a tunable. CONFIG tunables are usually a bad idea. What should a binary