LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] proc: use "unsigned int" for sigqueue length
@ 2018-04-23 21:51 Alexey Dobriyan
  0 siblings, 0 replies; only message in thread
From: Alexey Dobriyan @ 2018-04-23 21:51 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

It's defined as atomic_t and really long signal queues are unheard of.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 fs/proc/array.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/fs/proc/array.c
+++ b/fs/proc/array.c
@@ -260,7 +260,7 @@ static inline void task_sig(struct seq_file *m, struct task_struct *p)
 	unsigned long flags;
 	sigset_t pending, shpending, blocked, ignored, caught;
 	int num_threads = 0;
-	unsigned long qsize = 0;
+	unsigned int qsize = 0;
 	unsigned long qlim = 0;
 
 	sigemptyset(&pending);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-04-23 21:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-23 21:51 [PATCH] proc: use "unsigned int" for sigqueue length Alexey Dobriyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).