lkml.org 
[lkml]   [2008]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/4] UIO: hold a reference to the device's owner while the device is open
    Uwe Kleine-König wrote:
    > Otherwise the device might just disappear while /dev/uioX is being used
    > which results in an Oops.
    To help your understanding, without this patch I can trigger the Oops
    by starting an app that does

    opening and mmapping /dev/uio0
    while(1);

    and then in another shell do

    rmmod uio_pdrv

    Best regards
    Uwe

    --
    Uwe Kleine-König, Software Engineer
    Digi International GmbH Branch Breisach, Küferstrasse 8, 79206 Breisach, Germany
    Tax: 315/5781/0242 / VAT: DE153662976 / Reg. Amtsgericht Dortmund HRB 13962
    --
    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: 2008-04-10 22:15    [W:0.027 / U:21.868 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site