From: Greg KH <greg@kroah.com>
To: "Valdis Klētnieks" <valdis.kletnieks@vt.edu>
Cc: Hyeonggon Yoo <42.hyeyoo@gmail.com>, kernelnewbies@kernelnewbies.org
Subject: Re: deleting timer that re-registers itself
Date: Tue, 4 May 2021 19:01:58 +0200 [thread overview]
Message-ID: <YJF+Bi7z1WtAmvMo@kroah.com> (raw)
In-Reply-To: <324185.1620146106@turing-police>
On Tue, May 04, 2021 at 12:35:06PM -0400, Valdis Klētnieks wrote:
> On Tue, 04 May 2021 12:17:56 -0400, "Valdis KlD tnieks" said:
>
> > void __exit timer_exit(void) {
> > exiting = 1;
>
> -ENOCAFFEINE
>
> That still needs a few memory barriers. See Documentation/memory_barriers.txt
> for the gory details.
Use a real lock, it's much simpler :)
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
next prev parent reply other threads:[~2021-05-04 17:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-04 14:59 deleting timer that re-registers itself Hyeonggon Yoo
2021-05-04 16:17 ` Valdis Klētnieks
2021-05-04 16:28 ` Greg KH
2021-05-04 16:35 ` Valdis Klētnieks
2021-05-04 17:01 ` Greg KH [this message]
2021-05-05 7:22 ` Hyeonggon Yoo
2021-05-04 16:36 ` Hyeonggon Yoo
2021-05-04 16:41 ` Hyeonggon Yoo
2021-05-04 16:47 ` Hyeonggon Yoo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YJF+Bi7z1WtAmvMo@kroah.com \
--to=greg@kroah.com \
--cc=42.hyeyoo@gmail.com \
--cc=kernelnewbies@kernelnewbies.org \
--cc=valdis.kletnieks@vt.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.