[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150403084956.GA19328@gmail.com>
Date: Fri, 3 Apr 2015 10:49:56 +0200
From: Ingo Molnar <mingo@...nel.org>
To: Wang Nan <wangnan0@...wei.com>
Cc: jolsa@...hat.com, namhyung@...nel.org, jolsa@...nel.org,
acme@...hat.com, linux-kernel@...r.kernel.org, pi3orama@....com
Subject: Re: [PATCH] perf: kmaps: enforce usage of kmaps to protect futher
bugs.
* Wang Nan <wangnan0@...wei.com> wrote:
> This patch add checkings on every place where uses map__kmap and get
> kmaps from struct kmap. Error messages are added at map__kmap to warn
> invalud accessing of kmap (for the case of !map->dso->kernel, kmap(map)
> is not exists at all). Also, introduces map__kmaps() to warn
> uninitialized kmaps.
>
> Signed-off-by: Wang Nan <wangnan0@...wei.com>
Reviewed-by: Ingo Molnar <mingo@...nel.org>
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists