mbox series

[0/1] Refactoring wb_congested_put()

Message ID 20200312002156.49023-1-jbi.octave@gmail.com (mailing list archive)
Headers show
Series Refactoring wb_congested_put() | expand

Message

Jules Irenge March 12, 2020, 12:21 a.m. UTC
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(-)