[lkml]   [2002]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [patch 6/12] hold atomic kmaps across generic_file_read

    On Sat, 10 Aug 2002, Andrew Morton wrote:
    > If not, I don't think it's worth making this change just for
    > the highmem read/write thing (calculating `current' at each
    > spin_lock site...) I just open coded it.

    Well, this way it will now do the preempt count twice (once in
    kmap_atomic, once in th eopen-coded one) if preempt is enabled.

    I'd suggest just making k[un]map_atomic() always do the
    inc/dec_preempt_count. Other ideas?


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

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