#ifndef CPUSCHED_H #define CPUSCHED_H extern void init_cpusched(unsigned int cpus); extern unsigned int socket_to_cpu(int fd); extern unsigned int register_socket(int fd); extern void unregister_socket(int fd); extern void destroy_cpusched(void); #endif /* CPUSCHED_H */ tom/?h=nds-private-remove' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-25 13:25:59 -0400
committerDavid Sterba <dsterba@suse.com>2016-07-07 18:45:53 +0200
commitd38b349c39a9feb1aca82c3280b9b1234497d582 (patch)
treeec90b923cbcbc0d5c2b9bcf0275725afc2be34b3
parent31bada7c4e5e80b9cc031e89247175bed58ed9e9 (diff)
Btrfs: don't bother kicking async if there's nothing to reclaim
We do this check when we start the async reclaimer thread, might as well check before we kick it off to save us some cycles. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David Sterba <dsterba@suse.com>