From: Shaohua Li Date: Thu, 24 Oct 2013 08:06:45 +0000 (+0100) Subject: percpu_counter: make APIs irq safe X-Git-Tag: v3.13-rc1~101^2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=098faf5805c80f951ce5e8b4a6842382ad793c38;p=pandora-kernel.git percpu_counter: make APIs irq safe In my usage, sometimes the percpu APIs are called with irq locked, sometimes not. lockdep complains there is potential deadlock. Let's always use percpucounter lock in irq safe way. There should be no performance penality, as all those are slow code path. Cc: Andrew Morton Signed-off-by: Shaohua Li Signed-off-by: Jens Axboe --- Reading git-diff-tree failed