diff options
| author | Miao Xie <[email protected]> | 2008-08-20 23:37:38 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2008-08-21 07:54:06 +0000 |
| commit | 3c4fbe5e01d7e5309be5045e7ae0db20a049e6dc (patch) | |
| tree | 550195cb1a2ed58bc343e9a4f54d773e8abd5f90 /lib/debugobjects.c | |
| parent | Linux v2.6.27-rc4 (diff) | |
| download | kernel-3c4fbe5e01d7e5309be5045e7ae0db20a049e6dc.tar.gz kernel-3c4fbe5e01d7e5309be5045e7ae0db20a049e6dc.zip | |
nohz: fix wrong event handler after online an offlined cpu
On the tickless system(CONFIG_NO_HZ=y and CONFIG_HIGH_RES_TIMERS=n), after
I made an offlined cpu online, I found this cpu's event handler was
tick_handle_periodic, not tick_nohz_handler.
After debuging, I found this bug was caused by the wrong tick mode. the
tick mode is not changed to NOHZ_MODE_INACTIVE when the cpu is offline.
This patch fixes this bug.
Signed-off-by: Miao Xie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
