[lkml]   [2009]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: GPF in run_workqueue()/list_del_init(cwq-> on resume (was: Re: Help needed: Resume problems in 2.6.32-rc, perhaps related to preempt_count leakage in keventd)

    On Wed, 11 Nov 2009, Marcel Holtmann wrote:
    > As it seems the btusb_close() only cancels the work workqueue and not
    > the waker workqueue. Could that be the problem.

    It's the waker workqueue that Rafael apparently sees with the debug patch
    from Oleg, so yeah, that sounds possible.

    Rafael, since apparently htusb_close() _is_ called, does the following
    simpler patch fix it for you? I bet your patch does it too.


    drivers/bluetooth/btusb.c | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
    index 7ba91aa..2fb3802 100644
    --- a/drivers/bluetooth/btusb.c
    +++ b/drivers/bluetooth/btusb.c
    @@ -591,6 +591,7 @@ static int btusb_close(struct hci_dev *hdev)
    return 0;

    + cancel_work_sync(&data->waker);

    clear_bit(BTUSB_ISOC_RUNNING, &data->flags);
    clear_bit(BTUSB_BULK_RUNNING, &data->flags);

     \ /
      Last update: 2009-11-18 23:46    [W:0.022 / U:11.616 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site