When WALT is disabled, do_pl_notif() always returns false, in which case this bit of code serves no purpose. As a result, this WALT-specific code spins on acquiring the rq lock in a hot path, wasting CPU time. Compile it out when WALT is disabled to eliminate the unnecessary overhead. Change-Id: I94ec3f2ce0faad049c0bf4974b2b4442883311a4 Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>fourteen
parent
58d4d01d6c
commit
746034a7a4
Loading…
Reference in new issue