Messages in this thread | | | From | "Luck, Tony" <> | Subject | RE: [PATCH v2 3/3] pstore: add pstore unregister | Date | Mon, 19 Oct 2015 22:56:54 +0000 |
| |
> pstore doesn't support unregistering yet. It was marked as TODO.
Thanks for looking to close out this TODO item.
The thing that scared me about unloading pstore was what happens to a process that is in the middle of reading some /sys/fs/pstore/file-name-here
Do we have all the right reference counts to make sure that process doesn't do weird things if you rmmod pstore in the middle of a read? Or for a subsequent read from the still-open file descriptor?
-Tony
| |