summaryrefslogtreecommitdiff
path: root/Documentation/prctl/disable-tsc-on-off-stress-test.c
Commit message (Collapse)AuthorAgeFilesLines
* Documentation: make functions static to avoid prototype warningsPeter Foley2014-09-261-3/+4
| | | | | | Signed-off-by: Peter Foley <pefoley2@pefoley.com> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* generic, x86: add tests for prctl PR_GET_TSC and PR_SET_TSCErik Bosman2008-04-191-0/+95
This patch adds three tests that test whether the PR_GET_TSC and PR_SET_TSC commands have the desirable effect. The tests check whether the control register is updated correctly at context switches and try to discover bugs while enabling/disabling the timestamp counter. Signed-off-by: Erik Bosman <ejbosman@cs.vu.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>