nce, do a NULL check at the beginning, before proceeding ahead.
The issue can be easily reproduced by launching two tasks simultaneously
that does an open() call on /dev/hvcX.
For example:
$ cat /dev/hvc0 & cat /dev/hvc0 &
Cc: sta...@vger.kernel.org
Signed-off-by: Raghavendra Rao Ananta
drivers to query the requested
properties.
Signed-off-by: Raghavendra Rao Ananta
---
drivers/of/fdt.c | 27 +++
include/linux/of_fdt.h | 1 +
2 files changed, 28 insertions(+)
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c
index 223d617ecfe1..925cf2852433 10
05393 34,593,167 cycles
cycles: 105078270 1000136171 1000136171
33.006773971105,078,270 cycles
Raghavendra Rao Ananta (1):
perf: Add CPU hotplug support for events
include/linux/perf_event.h | 7 +++
kernel/events/core.c | 123 +--
d be returned to the client even while
creating the event on an offline CPU. If during the lifetime
of the event the CPU walks offline, the event would be
preserved and would continue to count as soon as (and if) the
CPU comes back online.
Signed-off-by: Raghavendra Rao Ananta
---
include/linu
U (by
perf_install_in_context()). If during the life time of the event,
the CPU hasn't come online, the dormant event would just be freed.
Signed-off-by: Raghavendra Rao Ananta
---
include/linux/perf_event.h | 7 +++
kernel/events/core.c | 109 -
2 fil
On 02/16/2018 12:21 AM, Peter Zijlstra wrote:
On Thu, Feb 15, 2018 at 03:01:41PM -0800, Raghavendra Rao Ananta wrote:
Perf framework doesn't allow prevserving CPU events across
CPU hotplugs. The events are scheduled out as and when the
CPU walks offline. Moreover, the framework also do
On 02/16/2018 12:39 PM, Peter Zijlstra wrote:
On Fri, Feb 16, 2018 at 10:06:29AM -0800, Raghavendra Rao Ananta wrote:
No this is absolutely disguisting. You can simply keep the events in the
dead CPU's context. It's really not that hard.
Keeping the events in the dead CPU's c
we also have to modify the perf tool accordingly?
Find an inline comment.
On 02/12/2018 01:43 AM, Jiri Olsa wrote:
On Fri, Feb 09, 2018 at 03:07:00PM -0800, Raghavendra Rao Ananta wrote:
Perf framework doesn't allow creation of hardware events if
the requested CPU is offline. However, cre
On 02/12/2018 01:21 PM, Jiri Olsa wrote:
On Mon, Feb 12, 2018 at 10:04:42PM +0100, Jiri Olsa wrote:
On Mon, Feb 12, 2018 at 09:42:05AM -0800, Raghavendra Rao Ananta wrote:
Hi Jiri,
Thank you for the response.
Does perf tool has its own check to see if the CPU was offline during the
On 02/13/2018 08:08 AM, Jiri Olsa wrote:
On Mon, Feb 12, 2018 at 02:22:30PM -0800, Raghavendra Rao Ananta wrote:
On 02/12/2018 01:21 PM, Jiri Olsa wrote:
On Mon, Feb 12, 2018 at 10:04:42PM +0100, Jiri Olsa wrote:
On Mon, Feb 12, 2018 at 09:42:05AM -0800, Raghavendra Rao Ananta wrote:
Hi
m_cid test failure")
Signed-off-by: Raghavendra Rao Ananta
---
tools/testing/selftests/rseq/rseq.c | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/tools/testing/selftests/rseq/rseq.c
b/tools/testing/selftests/rseq/rseq.c
index 5b9772cdf265..9eb5356f25
11 matches
Mail list logo