Note that there are some explanatory texts on larger screens.

plurals
  1. USDaniel Santos
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COSorry for my delayed response, but I'm glad you figured it out! You've done exactly what I've been doing: looked at the code to find your answer. There is a lot of documentation for the kernel... and then there's a lot of kernel without documentation. On a side note, if you're crashing your machine a lot (like me), you might consider something like a raspberry pi to test your kernels & modules on -- it reboots in about 25 seconds, is very small and you can just use ssh to connect to it (of course, you'll need a cross-compile toolchain though since it's an ARM).
      singulars
    2. CO@artless noise thanks for your comment and sorry for the late response. I haven't played with `strace` in a long time and I'd forgotten how useful it is, thanks! For this though, I'm mainly thinking about when you output an error code in a printk. I think I'll put something together and propose it to lkml, but after I'm done with my current project.
      singulars
    3. CO@us2012 Here's a proposal to use it for [memcpy] (http://www.phoronix.com/scan.php?page=news_item&px=OTgwMQ). In general, this would only be appropriate for copying large amounts of data, but can produce a performance increase in those cases. On a related note, nVidia has sponsored research for doing (in-kernel) encryption on their GPU that's shown some promising results, but is completely proprietary and will never make it into the mainline in its current form. Still, it has demonstrated the possibilities.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload