Skip to content

no MAX_ARG_PAGES -v2

Peter Zijlstra linux-arch linux-audit linux-mm linux-parisc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 24 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3arch: personality independent stack topinclude/asm-alpha/a.out.h include/asm-arm/a.out.h include/asm-arm26/a.out.h +19 more+29 -10 replies
2/3audit: rework execve auditfs/exec.c include/linux/binfmts.h kernel/auditsc.c +1 more+78 -213 replies
3/3mm: variable length argument supportarch/ia64/ia32/binfmt_elf32.c arch/x86_64/ia32/ia32_aout.c arch/x86_64/ia32/ia32_binfmt.c +12 more+541 -4569 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchTony LuckIngo Molnar
SeriesA-b A-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [patch 0/3] no MAX_ARG_PAGES -v2

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.

---

Plenty of changes all around, changes listed in the individual patches. We hope to have addressed all issues raised.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>