lkml.org 
[lkml]   [2015]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC PATCH 1/2] ext4: Fix possible deadlock with local interrupts disabled and page-draining IPI
Date
> @@ -109,8 +109,8 @@ static void ext4_finish_bio(struct bio *bio)
> if (bio->bi_error)
> buffer_io_error(bh);
> } while ((bh = bh->b_this_page) != head);
> - bit_spin_unlock(BH_Uptodate_Lock, &head->b_state);
> local_irq_restore(flags);

What if it takes 100ms to unlock after IRQ restored?

> + bit_spin_unlock(BH_Uptodate_Lock, &head->b_state);
> if (!under_io) {
> #ifdef CONFIG_EXT4_FS_ENCRYPTION
> if (ctx)
> --
> 2.5.0



\
 
 \ /
  Last update: 2015-10-09 09:41    [W:0.051 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site