aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJeff Layton <jlayton@primarydata.com>2014-11-19 07:51:21 -0500
committerJ. Bruce Fields <bfields@redhat.com>2014-12-09 11:22:21 -0500
commitceff739c53a1734d820d013d7d98f932994674d2 (patch)
tree5e7989100d2fdf4e9793f8c0f151c49100dbecbf /tools/perf/scripts/python
parentsunrpc: convert sp_task_pending flag to use atomic bitops (diff)
downloadlinux-ceff739c53a1734d820d013d7d98f932994674d2.tar.gz
linux-ceff739c53a1734d820d013d7d98f932994674d2.zip
sunrpc: have svc_wake_up only deal with pool 0
The way that svc_wake_up works is a bit inefficient. It walks all of the available pools for a service and either wakes up a task in each one or sets the SP_TASK_PENDING flag in each one. When svc_wake_up is called, there is no need to wake up more than one thread to do this work. In practice, only lockd currently uses this function and it's single threaded anyway. Thus, this just boils down to doing a wake up of a thread in pool 0 or setting a single flag. Eliminate the for loop in this function and change it to just operate on pool 0. Also update the comments that sit above it and get rid of some code that has been commented out for years now. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
mit/drivers/net/ethernet/apm/xgene/xgene_enet_main.c?h=v4.2&id=ccc02ddb1bb7c0c1cac695db18f7533296b51ecc&follow=1'>drivers: net: xgene: fix: Oops in linkwatch_fire_eventIyappan Subramanian2-2/+6 2015-08-25cls_u32: complete the check for non-forced case in u32_destroy()WANG Cong1-0/+13 2015-08-26LSM: restore certain default error codesJan Beulich1-5/+6 2015-08-25nfit, nd_blk: BLK status register is only 32 bitsRoss Zwisler1-2/+2 2015-08-25net: fec: use reinit_completion() in mdio accessor functionsRussell King1-2/+2 2015-08-25net: phy: add locking to phy_read_mmd_indirect()/phy_write_mmd_indirect()Russell King1-4/+12 2015-08-25vxlan: re-ignore EADDRINUSE from igmp_joinMarcelo Ricardo Leitner1-0/+2 2015-08-25net: compile renesas directory if NET_VENDOR_RENESAS is configuredKazuya Mizuguchi1-1/+1 2015-08-25ip6_gre: release cached dst on tunnel removalhuaibin Wang1-0/+1 2015-08-25mtip32x: fix regression introduced by blk-mq per-hctx flushJeff Moyer1-0/+8 2015-08-25writeback: sync_inodes_sb() must write out I_DIRTY_TIME inodes and always cal...Tejun Heo1-9/+13 2015-08-25phylib: Make PHYs children of their MDIO bus, not the bus' parent.David Daney1-1/+1 2015-08-25can: pcan_usb: don't provide CAN FD bittimings by non-FD adaptersMarc Kleine-Budde5-70/+82 2015-08-25ALSA: hda - Fix path power activationTakashi Iwai1-5/+1 2015-08-25ALSA: hda - Check all inputs for is_active_nid_for_any()Takashi Iwai1-2/+3 2015-08-24nfsd: Add Jeff Layton as co-maintainerJ. Bruce Fields1-0/+1 2015-08-24net: Fix RCU splat in af_keyDavid Ahern1-23/+23 2015-08-24ALSA: hda: fix possible NULL dereferenceMarkus Osterhoff1-1/+1 2015-08-23net: bcmgenet: fix uncleaned dma flagsJaedon Shin1-0/+16 2015-08-23net: bcmgenet: Avoid sleeping in bcmgenet_timeoutFlorian Fainelli1-4/+0 2015-08-23Linux 4.2-rc8v4.2-rc8Linus Torvalds1-1/+1 2015-08-23netlink: mmap: fix tx type checkKen-ichirou MATSUZAWA1-1/+1 2015-08-229p: ensure err is initialized to 0 in p9_client_read/writeVincent Bernat1-0/+2 2015-08-22x86/apic: Fix fallout from x2apic cleanupThomas Gleixner1-7/+7 2015-08-22x86/fpu/math-emu: Fix crash in fork()Ingo Molnar1-1/+1 2015-08-22x86/fpu/math-emu: Fix math-emu boot crashIngo Molnar1-1/+6