lkml.org 
[lkml]   [2018]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 00/35] remove in-kernel syscall invocations

* Dominik Brodowski <linux@dominikbrodowski.net> wrote:

> I'm a bit more unsure about these remaining patches. They use inline stubs
> named ksys_xyzzy() which (mostly) call fs-internal functions. Another
> alternative would be to define these in fs/*, but then we'd get more and
> more indirections.
>
> syscalls: do not call sys_unlink() within the kernel
> syscalls: do not call sys_rmdir() within the kernel
> syscalls: do not call sys_mkdir{,at}() within the kernel
> syscalls: do not call sys_symlink{,at}() within the kernel
> syscalls: do not call sys_mknod{,at}() within the kernel
> syscalls: do not call sys_link{,at}() within the kernel
> syscalls: do not call sys_{f,}chmod{at,}() within the kernel
> syscalls: do not call sys_{f,}access{,at}() within the kernel
> syscalls: do not call sys_ftruncate() within the kernel
> syscalls: do not call sys_{,l,f}chown() within the kernel
> syscalls: do not call sys_close() within the kernel

> 72 files changed, 572 insertions(+), 274 deletions(-)

Just curious, have you done a before/after vmlinux /usr/bin/size comparison?
How do these changes impact generated code?

My expectation would be for there to be a noticeable decrease in text size.

Thanks,

Ingo

\
 
 \ /
  Last update: 2018-03-12 08:33    [W:0.238 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site