Dynamic kernel command-line - Resend please ignore last
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest26 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/26 | Dynamic kernel command-line - commoninclude/ init/ | +27 | 0 replies | |
| 2/26 | Dynamic kernel command-line - alphaarch/ | +3 | 0 replies | |
| 3/26 | Dynamic kernel command-line - armarch/ | +3 | 0 replies | |
| 4/26 | Dynamic kernel command-line - arm26arch/ | +3 | 0 replies | |
| 5/26 | Dynamic kernel command-line - avr32arch/ | +3 | 5 replies | |
| 6/26 | Dynamic kernel command-line - crisarch/ | +3 | 0 replies | |
| 7/26 | Dynamic kernel command-line - frvarch/ | +3 | 0 replies | |
| 8/26 | Dynamic kernel command-line - h8300arch/ | +3 | 0 replies | |
| 9/26 | Dynamic kernel command-line - i386arch/ arch/ | +3 | 0 replies | |
| 10/26 | Dynamic kernel command-line - ia64arch/ arch/ arch/ | +7 | 0 replies | |
| 11/26 | Dynamic kernel command-line - m32rarch/ | +3 | 0 replies | |
| 12/26 | Dynamic kernel command-line - m68karch/ | +1 | 0 replies | |
| 13/26 | Dynamic kernel command-line - m68knommuarch/ | +3 | 0 replies | |
| 14/26 | Dynamic kernel command-line - mipsarch/ | +2 | 0 replies | |
| 15/26 | Dynamic kernel command-line - pariscarch/ arch/ | +6 | 0 replies | |
| 16/26 | Dynamic kernel command-line - powerpcarch/ arch/ arch/ +1 more | +5 | 0 replies | |
| 17/26 | Dynamic kernel command-line - ppcarch/ arch/ arch/ +1 more | +5 | 0 replies | |
| 18/26 | Dynamic kernel command-line - s390arch/ | +1 | 0 replies | |
| 19/26 | Dynamic kernel command-line - sharch/ | +3 | 0 replies | |
| 20/26 | Dynamic kernel command-line - sh64arch/ | +3 | 0 replies | |
| 21/26 | Dynamic kernel command-line - sparcarch/ arch/ | +2 | 0 replies | |
| 22/26 | Dynamic kernel command-line - sparc64arch/ arch/ | +2 | 0 replies | |
| 23/26 | Dynamic kernel command-line - umarch/ arch/ | +2 | 2 replies | |
| 24/26 | Dynamic kernel command-line - v850arch/ | +3 | 0 replies | |
| 25/26 | Dynamic kernel command-line - x86_64arch/ arch/ include/ | +5 | 0 replies | |
| 26/26 | Dynamic kernel command-line - xtensaarch/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/26] Dynamic kernel command-line - Resend please ignore last
Current implementation stores a static command-line buffer allocated to COMMAND_LINE_SIZE size. Most architectures stores two copies of this buffer, one for future reference and one for parameter parsing.
In order to allow a greater command-line size, these buffers should be dynamically allocated or marked as init disposable buffers, so unused memory can be released.
This patch renames the static saved_command_line variable into boot_command_line adding __initdata attribute, so that it can be disposed after initialization. This rename is required so applications that use saved_command_line will not be affected by this change.
It reintroduces saved_command_line as dynamically allocated buffer to match the data in boot_command_line.
It also mark secondary command-line buffer as __initdata, and copies it to dynamically allocated static_command_line buffer components may hold reference to it after initialization.
This patch is for linux-2.6.18-rc5-mm1 and is divided to target each architecture. I could not check this in any architecture so please forgive me if I got it wrong.
---
Signature · 1 line
VGER BF report: H 0