From: Cliff Wickman Date: Fri, 22 Jun 2012 13:13:30 +0000 (-0500) Subject: x86/uv: Implement UV BAU runtime enable and disable control via /proc/sgi_uv/ X-Git-Tag: v3.6-rc1~160^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26ef85770c765bb8b6b6922f8a413872dd8e3979;p=pandora-kernel.git x86/uv: Implement UV BAU runtime enable and disable control via /proc/sgi_uv/ This patch enables the BAU to be turned on or off dynamically. echo "on" > /proc/sgi_uv/ptc_statistics echo "off" > /proc/sgi_uv/ptc_statistics The system may be booted with or without the nobau option. Whether the system currently has the BAU off can be seen in the /proc file -- normally with the baustats script. Each cpu will have a 1 in the bauoff field if the BAU was turned off, so baustats will give a count of cpus that have it off. Signed-off-by: Cliff Wickman Link: http://lkml.kernel.org/r/20120622131330.GB31884@sgi.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed