Caching behavior on Linux 2.4.18 for block devices

From: Yipkei Kwok (yipkeikwok_at_yahoo.com)
Date: 05/29/04

  • Next message: ferrix: "Re: Total Virgin what should I do"
    Date: 28 May 2004 22:02:27 -0700
    
    

    Hi folks,

    On Linux 2.4.18, when a process requests a block that is already in
    the block cache, does the kernel map the block cache containing that
    block to the requesting process's address space OR copy the content to
    the requesting process's address space?

    If the answer is the first one, what will happen if >1 processes are
    sharing the block cache but 1 of them intends to modify the content?

    Thank you!

    --Yipkei


  • Next message: ferrix: "Re: Total Virgin what should I do"

    Relevant Pages

    • Re: Caching behavior on Linux 2.4.18 for block devices
      ... >> the block cache, does the kernel map the block cache containing that ... >> block to the requesting process's address space OR copy the content to ... I dunno if the Linux kernel uses it, but there has been in the past (in ...
      (comp.os.linux)
    • Re: Caching behavior on Linux 2.4.18 for block devices
      ... > block to the requesting process's address space OR copy the content to ... > sharing the block cache but 1 of them intends to modify the content? ... As I know, when process use read system call, kernel always copy ... So process can do almost everything with it's buffer. ...
      (comp.os.linux)