Skip to content

Commit 197850a

Browse files
Alexey Dobriyantorvalds
authored andcommitted
proc: use "unsigned int" for sigqueue length
It's defined as atomic_t and really long signal queues are unheard of. Link: http://lkml.kernel.org/r/20180423215119.GF9043@avx2 Signed-off-by: Alexey Dobriyan <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent a4ef389 commit 197850a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/proc/array.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ static inline void task_sig(struct seq_file *m, struct task_struct *p)
268268
unsigned long flags;
269269
sigset_t pending, shpending, blocked, ignored, caught;
270270
int num_threads = 0;
271-
unsigned long qsize = 0;
271+
unsigned int qsize = 0;
272272
unsigned long qlim = 0;
273273

274274
sigemptyset(&pending);

0 commit comments

Comments
 (0)