News for hackers. Stuff that matters.
Re:Meet LKL: Turn Linux Kernel into a Library by dohqu8Zi on Monday February 01, 2016 @02:54PM (#11014858)
This does not make any sense. As soon you issue any system call you will trigger a context switch. So, eve without using FUSE and just using LKL as tool to extract your favorite filesystem it will face them.

But the context switches not the bottleneck in FUSE. Did you benchmark?

Re:Meet LKL: Turn Linux Kernel into a Library by bmuk on Monday February 01, 2016 @03:05PM (#11014962)
You're absolutely correct; I'm not sure why I was thinking this would eliminate context switching. I don't have a filesystem written, just a lot of musing and reading about it. Wouldn't context switching be the bottleneck when you have lots of small files/transactions? What is usually the bottleneck with FUSE in your experience?
Re:Meet LKL: Turn Linux Kernel into a Library by dohqu8Zi on Monday February 01, 2016 @03:24PM (#11015107)
Depends on the FUSE filesystem, but most of the time it is the kernel<->user copy process.