Minor namespace code simplication
Status from this message: Applied to the vfs-6.16.misc branch of the vfs/vfs.git tree.
Get series with b4
b4 am [email protected]Versions newest first
Changes in v2 from the cover letter
- now removing the guards instead of adding them where missing since checking that all calls in the NULL case were already no-ops
- added second patch
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | kernel/nsproxy: remove unnecessary guardskernel/ | +10 | 0 replies | |
| 2/2 | include/cgroup: separate {get,put}_cgroup_ns no-op caseinclude/ | +14 | 2 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Michal Koutný |
|---|---|
| 1/2 | |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] Minor namespace code simplication
The two patches are independent of each other. The first patch removes unnecssary NULL guards from free_nsproxy() and create_new_namespaces() in line with other usage of the put_*_ns() call sites. The second patch slightly reduces the size of the kernel when CONFIG_CGROUPS is not selected.
Joel Savitz (2):
kernel/nsproxy: remove unnecessary guards include/cgroup: separate {get,put}_cgroup_ns no-op case
Changes from v1:
- now removing the guards instead of adding them where missing since checking that all calls in the NULL case were already no-ops
- added second patch
include/linux/cgroup.h | 26 ++++++++++++++------------ kernel/nsproxy.c | 30 ++++++++++-------------------- 2 files changed, 24 insertions(+), 32 deletions(-)
Signature · 1 line
2.45.2