lkml.org 
[lkml]   [2021]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe:Re: [PATCH 1/1] mm: bdi: Initialize bdi_min_ratio when bdi unregister
Date
>On Thu, Oct 21, 2021 at 07:45:30PM -0700, Andrew Morton wrote:
>> On Thu, 21 Oct 2021 13:01:30 +0100 Matthew Wilcox <willy@infradead.org> wrote:
>>
>> > On Thu, Oct 21, 2021 at 04:16:52AM -0700, Christoph Hellwig wrote:
>> > > On Fri, Oct 22, 2021 at 01:19:43AM +0900, Manjong Lee wrote:
>> > > > Because when sdcard is removed, bdi_min_ratio value will remain.
>> > > > Currently, the only way to reset bdi_ min_ratio is to reboot.
>> > >
>> > > But bdis that are unregistered are never re-registered. What is
>> > > the problem you're trying to solve?
>> >
>> > The global bdi_min_ratio needs to be adjusted. See
>> > bdi_set_min_ratio() in mm/page-writeback.c.
>>
>> I added cc:stable to this and tweaked the comment & coding style a bit:
>
>Definitely improvements on that front.
>
>I don't know the BDI code particularly well, and the implementation of
>bdi_set_min_ratio() confuses me, so I can't say whether the original
>patch is clearly correct or not.


Thank Andrew Morton for modifying the comment & style. :)

Dear Matthew Wilcox.
Please tell me about it more? I want to know more,
and I want to find a way to improve it. :)

\
 
 \ /
  Last update: 2021-10-22 06:34    [W:0.054 / U:0.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site