[lkml]   [2003]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRedundant memset in AIO read_events
    OK, here is another one.  In the top level read_events() function in
    fs/aio.c, a struct io_event is instantiated on the stack (variable ent).
    It calls aio_read_evt() function which will fill the entire io_event
    structure into variable ent. What's the point of zeroing when copy
    covers the same memory area? Possible a debug code left around?

    - Ken
    [unhandled content-type:application/octet-stream]
     \ /
      Last update: 2005-03-22 13:46    [W:0.020 / U:49.288 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site