lkml.org 
[lkml]   [2004]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: PF_MEMALLOC in 2.6
    Date
    Am Freitag, 20. August 2004 12:31 schrieb Stephen C. Tweedie:
    > Hi,
    >
    > On Thu, 2004-08-19 at 13:41, Hugh Dickins wrote:
    >
    > > Or would it solve the problem at hand, if it made itself PF_MEMALLOC
    > > just while servicing a request from a PF_MEMALLOC?
    >
    > It's not the PF_* state of the caller who submitted the IO that matters,
    > though --- it's the state of all threads _waiting_ on the IO, which may
    > be different, and which can change even after the IO has begun.
    >
    > Eg. kswapd does a writepage, the writepage needs to allocate disk space,
    > and in doing so tries to access a metadata block which is already
    > undergoing IO from a different thread altogether.

    Then how do the current SCSI drivers work?

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

    \
     
     \ /
      Last update: 2005-03-22 14:05    [W:0.020 / U:117.680 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site