Re: kobj->state_initialized is never set to 0

2018-08-10 Thread Helen Koike
On Fri, Jul 20, 2018 at 3:39 PM, Greg KH wrote: > On Fri, Jul 20, 2018 at 03:33:22PM -0300, Helen Koike wrote: >> Hi, >> >> I am simulating hotplugging a platform device (to the >> media/platform/vimc driver), so I register it using >> platform_device_register, then I unregister it with >>

Re: A question on the function clean_bdev_bh_alias

2018-08-10 Thread valdis . kletnieks
On Fri, 10 Aug 2018 22:48:43 +0800, "Larry" said: > Does it intend to remove existent pages in block device's page cache > if some new page cache of a vfs file was created whose block number > range has overlaps with its block device page cache? That's a situation you *really* hope doesn't

A question on the function clean_bdev_bh_alias

2018-08-10 Thread Larry
Hello list, I'm confused with the function, could someone help?? Does it intend to remove existent pages in block device's page cache if some new page cache of a vfs file was created whose block number range has overlaps with its block device page cache? Thanks in advance. Best regards,

Re: first patch question

2018-08-10 Thread greg gallagher
On 2018-08-10 01:04 AM, Nicholas Mc Guire wrote: On Thu, Aug 09, 2018 at 01:19:53PM -0400, greg gallagher wrote: On 2018-08-07 12:47 AM, Nicholas Mc Guire wrote: On Tue, Aug 07, 2018 at 12:15:04AM -0400, Greg Gallagher wrote: Hi, I creating my first patch to the kernel. I followed the