lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <02fc01d018dd$0fc01530$2f403f90$@alibaba-inc.com>
Date:	Tue, 16 Dec 2014 11:04:51 +0800
From:	"Hillf Danton" <hillf.zj@...baba-inc.com>
To:	"Linus Torvalds" <torvalds@...ux-foundation.org>
Cc:	"Dave Jones" <davej@...hat.com>,
	"Mike Galbraith" <mgalbraith@...e.de>,
	"Ingo Molnar" <mingo@...hat.com>,
	"Peter Zijlstra" <peterz@...radead.org>,
	"'Chris Mason'" <clm@...com>,
	"linux-kernel" <linux-kernel@...r.kernel.org>
Subject: Re: frequent lockups in 3.18rc4

> 
> But me not seeing any other bug clearly doesn't mean it doesn't exist.
> 
Perhaps  we can easy the zap loop if it is busy.

thanks
Hillf

--- a/mm/memory.c	Tue Dec 16 10:38:03 2014
+++ b/mm/memory.c	Tue Dec 16 10:42:07 2014
@@ -1212,8 +1212,10 @@ again:
 		force_flush = 0;
 		tlb_flush_mmu_free(tlb);
 
-		if (addr != end)
+		if (addr != end) {
+			cond_resched();
 			goto again;
+		}
 	}
 
 	return addr;
--


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ