Messages in this thread | | | From | Jules Irenge <> | Subject | [PATCH 0/1] Refactoring wb_congested_put() | Date | Thu, 12 Mar 2020 00:21:55 +0000 |
| |
Hi I expanded the lock function refcount_dec_and_lock_irqsave(&congested->refcnt, &cgwb_lock, &flags) and rearrange the code so that it can look simple and Sparse will not throw a warning. Please feel free to leave me any feedback Thanks
Jules Irenge (1): backing-dev: refactor wb_congested_put()
mm/backing-dev.c | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-)
-- 2.24.1
| |