On Tue, Mar 26, 2013 at 3:30 PM, Li Zefan <lize...@huawei.com> wrote: >> Considered that vfs_read()/vfs_write on sysfs dir is almost doing nothing, >> the >> above problem may only exist in theory. > > The read() vs readdir() race in sysfs directory doesn't exist in theory only.
Could you let me know if you have applied the two patches on your test? https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=e5110f411d2ee35bf8d202ccca2e89c633060dca https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=991f76f837bf22c5bb07261cfd86525a0a96650c Also I appreciate it if you may share your test case... Thanks, -- Ming Lei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/