up/down semaphores in writepage()?
Is that allowed? My guess is yes, but sort of gut without any firm belief.
thanks,
shaya
Quoted 2 lines · Shaya Potter
Is that allowed? My guess is yes, but sort of gut without any firm belief.
see Documentation/filesystems/Locking ...
locking rules:
All except set_page_dirty may block
BKL PageLocked(page)
writepage: no yes, unlocks (see below)
Signature · 6 lines
"Next the statesmen will invent cheap lies, putting the blame upon the nation that is attacked, and every man will be glad of those conscience-soothing falsities, and will diligently study them, and refuse to examine any refutations of them; and thus he will by and by convince himself that the war is just, and will thank God for the better sleep he enjoys after this process of grotesque self-deception." -- Mark Twain
Quoted 11 lines · Matthew Wilcox
Quoted 2 lines · Shaya Potter
Is that allowed? My guess is yes, but sort of gut without any firm belief.
see
Documentation/filesystems/Locking...locking rules:
All exceptset_page_dirtymay blockBKL PageLocked(page)
writepage: no yes, unlocks (see below)
thanks! needed that!