Messages in this thread | | | Date | Tue, 22 Sep 2009 17:27:46 +0800 | From | Xiao Guangrong <> | Subject | Re: [PATCH] perf_counter: cleanup for __perf_event_sched_in() |
| |
Paul Mackerras wrote: > Xiao Guangrong writes: > >> It must be a group leader if event->attr.pinned is "1" > > True, but you shouldn't use BUG_ON unless there is no sensible way for > the kernel to continue executing, and that's not the case here. Make > it WARN_ON, or better still, WARN_ON_ONCE. >
Yeah, thanks for you point out, I'll fix it soon.
Thanks, Xiao
| |