On Wed, Sep 27, 2023 at 11:22 PM Yu Kuai <[email protected]> wrote: > > From: Yu Kuai <[email protected]> > > Because reading 'suspend_lo' and 'suspend_hi' from md_handle_request() > is not protected, use READ_ONCE/WRITE_ONCE to prevent reading abnormal > value.
I rephrase this a bit: Protect 'suspend_lo' and 'suspend_hi' with READ_ONCE/WRITE_ONCE to prevent reading abnormal values. Thanks, Song -- dm-devel mailing list [email protected] https://listman.redhat.com/mailman/listinfo/dm-devel
