9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] [PATCH] devproc: use the correct limit when warning that conf.nproc is too high
@ 2021-06-07  8:39 james palmer
  2021-06-08 23:59 ` [9front] " Anthony Martin
  0 siblings, 1 reply; 3+ messages in thread
From: james palmer @ 2021-06-07  8:39 UTC (permalink / raw)
  To: 9front

---
diff afe3c1c89a9ead7459691e9bf0d4e28f232bb929 9eb2b302e6240695960f5ce37c68e40a96da44d6
--- a/sys/src/9/port/devproc.c	Mon Jun  7 03:17:30 2021
+++ b/sys/src/9/port/devproc.c	Mon Jun  7 09:39:21 2021
@@ -281,7 +281,7 @@
 static void
 procinit(void)
 {
-	if(conf.nproc >= (1<<(16-QSHIFT))-1)
+	if(conf.nproc >= (1<<23)-1)
 		print("warning: too many procs for devproc\n");
 }
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-09 21:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-07  8:39 [9front] [PATCH] devproc: use the correct limit when warning that conf.nproc is too high james palmer
2021-06-08 23:59 ` [9front] " Anthony Martin
2021-06-09  2:22   ` ori

9front - general discussion about 9front

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/9front

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 9front 9front/ http://inbox.vuxu.org/9front \
		9front@9front.org
	public-inbox-index 9front

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.9front


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git