lkml.org 
[lkml]   [2012]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 3.6rc6 slab corruption.
    > >An alternative to this, though, might be to never test for *ppos == 0 in
    > >u32_array_read() and do the format_array_alloc() in u32_array_open() to
    > >initialize file->private_data. If that allocation fails, just return
    > >-ENOMEM. Then you never need to add a mutex in the read path.
    > >
    >
    > Tested-by: Raghavendra <raghavendra.kt@linux.vnet.ibm.com>

    Excellent. Thank you!

    >


    \
     
     \ /
      Last update: 2012-09-21 00:01    [W:5.116 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site