Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1588152
| From | Theodore Ts'o <tytso@mit.edu> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/3] fs: Extracts pivot_root so it can be made optional |
| Date | 2017-02-25 17:10 +0100 |
| Message-ID | <teN4Z-1WC-1@gated-at.bofh.it> (permalink) |
| References | <teypk-86z-7@gated-at.bofh.it> <teypk-86z-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
If you're only going to be removing a single function, instead of having to export a bunch of previously-static functions, my preference would be to just insert a pair of #ifdef CONFIG_PIVOT_ROOT_SYSCALL / #endif statements around the function in question. Is it worth it to save 600-odd bytes? Shrug; but if that's what you are after, I'd suggest doing it the simplest and least-instrusive way possible. Cheers, - Ted
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 2/3] fs: Extracts pivot_root so it can be made optional bosrsf04@gmail.com - 2017-02-25 01:30 +0100
Re: [PATCH 2/3] fs: Extracts pivot_root so it can be made optional Theodore Ts'o <tytso@mit.edu> - 2017-02-25 17:10 +0100
Re: [PATCH 2/3] fs: Extracts pivot_root so it can be made optional Al Viro <viro@ZenIV.linux.org.uk> - 2017-02-25 17:10 +0100
[PATCH 0/1] fs: Support compiling out the pivot_root syscall Brian Ashworth <bosrsf04@gmail.com> - 2017-02-26 02:10 +0100
[PATCH 1/1] fs: Allows for the pivot_root syscall to be optional Brian Ashworth <bosrsf04@gmail.com> - 2017-02-26 02:10 +0100
Re: [PATCH 1/1] fs: Allows for the pivot_root syscall to be optional Nicolas Pitre <nicolas.pitre@linaro.org> - 2017-02-26 02:50 +0100
csiph-web