lkml.org 
[lkml]   [1999]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Kernel hacking ? - Can this be done?
    On Fri, 30 Jul 1999, Steve Dodd wrote:
    > > That is possible too, in fact, I am adding this to kHTTPd right now. For
    > > non-performance critical tasks, this is WAY to much pain though, since this
    > > will only work for most filesystems (the f_ops->read works for ALL sane
    > > filesystems), and proper locking isn't easy either.
    >
    > If instead of the current f_ops->read, filesystems exported a function which
    > could take something similar to a read_actor_t, you could use that. I think.
    > I need to think about this a bit more..

    Well, that would be somewhat double. It IS possible to get a pagecache
    reference (for most filesystems anyway), it's just very sensitive to the
    right locking.

    Greetings,
    Arjan van de Ven


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:53    [W:3.703 / U:26.076 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site