All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] no MAX_ARG_PAGES
@ 2007-06-05 15:05 ` Peter Zijlstra
  0 siblings, 0 replies; 59+ messages in thread
From: Peter Zijlstra @ 2007-06-05 15:05 UTC (permalink / raw)
  To: linux-kernel, parisc-linux, linux-mm, linux-arch
  Cc: Ollie Wild, Peter Zijlstra, Andrew Morton, Ingo Molnar,
	Andi Kleen


This patch-set aims at removing the current limit on argv+env space aka.
MAX_ARG_PAGES.

The new mm is created before the binfmt code runs, the stack is placed at the
highest address supported by that architecture.

The argv+env data is then copied from the old mm into the new mm (which is
inactive at that time - this introduces some cache coherency issues).

Then we run the binfmt code, which will compute the final stack address. The
existing stack will be moved downwards (or upwards on PA-RISC) to the desired
place.

This 'trick' heavily relies on the MMU, so for no-MMU archs we stay with the
old approach.

Tested-on: i386, ia64, frv, parisc, ppc64, um, x86_64

Patches against: .22-rc4

-- 
Changes since last time:

 - fixed ia64
     ( va-space constraints )

 - fixed ia64 CONFIG_IA32_SUPPORT
     ( brown paper bags and more va-space constraints)

 - fixed powerpc
     ( address limit on stack extention )

 - removed audit_kill() in favour of audit_panic()

 - nicely spit out the patches


^ permalink raw reply	[flat|nested] 59+ messages in thread

end of thread, other threads:[~2007-06-06 19:53 UTC | newest]

Thread overview: 59+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-05 15:05 [PATCH 0/4] no MAX_ARG_PAGES Peter Zijlstra
2007-06-05 15:05 ` Peter Zijlstra
2007-06-05 15:05 ` [PATCH 1/4] arch: personality independent stack top Peter Zijlstra
2007-06-05 15:05   ` Peter Zijlstra
2007-06-05 15:05 ` [parisc-linux] " Peter Zijlstra
2007-06-05 15:05 ` [PATCH 2/4] audit: rework execve audit Peter Zijlstra
2007-06-05 15:05   ` Peter Zijlstra
2007-06-05 15:05   ` Peter Zijlstra
2007-06-05 23:39   ` Andrew Morton
2007-06-05 23:39     ` Andrew Morton
2007-06-05 23:39     ` Andrew Morton
2007-06-06  5:52     ` Peter Zijlstra
2007-06-06  5:52       ` Peter Zijlstra
2007-06-06  5:52       ` Peter Zijlstra
2007-06-05 15:05 ` [parisc-linux] " Peter Zijlstra
2007-06-05 15:05 ` [parisc-linux] [PATCH 3/4] mm: move_page_tables{,_up} Peter Zijlstra
2007-06-05 15:05 ` Peter Zijlstra
2007-06-05 15:05   ` Peter Zijlstra
2007-06-05 19:46   ` Christoph Lameter
2007-06-05 19:46     ` Christoph Lameter
2007-06-05 23:39   ` Andrew Morton
2007-06-05 23:39     ` Andrew Morton
2007-06-06 19:06   ` Ollie Wild
2007-06-06 19:06     ` Ollie Wild
2007-06-06 19:12     ` Peter Zijlstra
2007-06-06 19:12       ` Peter Zijlstra
2007-06-06 19:50       ` Ollie Wild
2007-06-06 19:50         ` Ollie Wild
2007-06-06 19:53         ` Peter Zijlstra
2007-06-06 19:53           ` Peter Zijlstra
2007-06-05 15:05 ` [parisc-linux] [PATCH 4/4] mm: variable length argument support Peter Zijlstra
2007-06-05 15:05 ` Peter Zijlstra
2007-06-05 15:05   ` Peter Zijlstra, Ollie Wild
2007-06-05 23:39   ` Andrew Morton
2007-06-05 23:39     ` Andrew Morton
2007-06-06  0:48     ` Ollie Wild
2007-06-06  0:48       ` Ollie Wild
2007-06-06  6:02     ` Peter Zijlstra
2007-06-06  6:02       ` Peter Zijlstra
2007-06-06  8:36   ` Andrew Morton
2007-06-06  8:36     ` Andrew Morton
2007-06-06  8:44     ` Paul Mundt
2007-06-06  8:44       ` Paul Mundt
2007-06-06  8:54     ` Peter Zijlstra
2007-06-06  8:54       ` Peter Zijlstra
2007-06-06  9:06       ` Andrew Morton
2007-06-06  9:06         ` Andrew Morton
2007-06-06  9:12         ` Peter Zijlstra
2007-06-06  9:12           ` Peter Zijlstra
2007-06-06 14:40           ` [parisc-linux] " Grant Grundler
2007-06-06 14:40             ` Grant Grundler
2007-06-06  9:34         ` Peter Zijlstra
2007-06-06  9:34           ` Peter Zijlstra
2007-06-06  9:44           ` Paul Mundt
2007-06-06  9:44             ` Paul Mundt
2007-06-06  9:47             ` Peter Zijlstra
2007-06-06  9:47               ` Peter Zijlstra
2007-06-06  9:53               ` Andi Kleen
2007-06-06  9:53                 ` Andi Kleen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.