* [PATCH] ipc/shm.c: Fix a typo
@ 2021-03-22 1:32 Bhaskar Chowdhury
2021-03-22 1:36 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-22 1:32 UTC (permalink / raw)
To: akpm, liao.pingfang, daniel.m.jordan, vbabka, gustavoars,
yanaijie, walken, unixbhaskar, 0x7f454c46, adobriyan,
linux-kernel
Cc: rdunlap
s/exit\'ed/exited/
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
ipc/shm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ipc/shm.c b/ipc/shm.c
index febd88daba8c..07fb04c20d8c 100644
--- a/ipc/shm.c
+++ b/ipc/shm.c
@@ -357,7 +357,7 @@ static int shm_try_destroy_orphaned(int id, void *p, void *data)
/*
* We want to destroy segments without users and with already
- * exit'ed originating process.
+ * exited originating process.
*
* As shp->* are changed under rwsem, it's safe to skip shp locking.
*/
--
2.31.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ipc/shm.c: Fix a typo
2021-03-22 1:32 [PATCH] ipc/shm.c: Fix a typo Bhaskar Chowdhury
@ 2021-03-22 1:36 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2021-03-22 1:36 UTC (permalink / raw)
To: Bhaskar Chowdhury, akpm, liao.pingfang, daniel.m.jordan, vbabka,
gustavoars, yanaijie, walken, 0x7f454c46, adobriyan,
linux-kernel
On 3/21/21 6:32 PM, Bhaskar Chowdhury wrote:
>
> s/exit\'ed/exited/
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
> ---
> ipc/shm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/ipc/shm.c b/ipc/shm.c
> index febd88daba8c..07fb04c20d8c 100644
> --- a/ipc/shm.c
> +++ b/ipc/shm.c
> @@ -357,7 +357,7 @@ static int shm_try_destroy_orphaned(int id, void *p, void *data)
>
> /*
> * We want to destroy segments without users and with already
> - * exit'ed originating process.
> + * exited originating process.
> *
> * As shp->* are changed under rwsem, it's safe to skip shp locking.
> */
> --
I think this one could go either way.
It's referring to the exit() library call or syscall,
so it's not so bad is it currently is.
I.e., I'll leave it up to someone else if they want to merge it.
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-22 1:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-22 1:32 [PATCH] ipc/shm.c: Fix a typo Bhaskar Chowdhury
2021-03-22 1:36 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®