On Sun, Mar 11, 2018 at 3:55 AM, Dominik Brodowski <li...@dominikbrodowski.net> wrote: > Here is a first set of patches which reduce the number of syscall invocations > from within the kernel.
This all looks ok to me. I think there may be some room for cleanup and bikeshedding later (the "ksys_mmap_pgoff()" name made me go "that sounds more like a real helper than a kernel syscall", for example), but on the whole I think it's best to start with this kind of fairly direct translation. In fact, because it all looks *so* mechanical, I'd even be willing to just pull this into 4.16, if that makes the real work that this depends on easier? Anyway, ack from me, qith the only question being how you want to handle the patches. Direct pull request to me, go through the -mm tree, or just keep them in your own git tree and then build upon it and send it all later? Linus