Re: [PATCH v1] drivers/base/memory.c: Drop the mem_sysfs_mutex

2019-10-16 Thread David Hildenbrand
On 25.09.19 10:26, David Hildenbrand wrote: The mem_sysfs_mutex isn't really helpful. Also, it's not really clear what the mutex protects at all. The device lists of the memory subsystem are protected separately. We don't need that mutex when looking up. creating, or removing independent

[PATCH v1] drivers/base/memory.c: Drop the mem_sysfs_mutex

2019-09-25 Thread David Hildenbrand
The mem_sysfs_mutex isn't really helpful. Also, it's not really clear what the mutex protects at all. The device lists of the memory subsystem are protected separately. We don't need that mutex when looking up. creating, or removing independent devices. find_memory_block_by_id() will perform