summaryrefslogtreecommitdiff
path: root/irq.h
blob: 005e22418b38976242987f578e06594485189d2b (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef IRQ_H
#define IRQ_H

extern int device_irq_number(const char *ifname);
extern void device_restore_irq_affinity_list(void);
extern int device_set_irq_affinity_list(int irq, unsigned long from,
					unsigned long to);
extern int device_set_irq_affinity(int irq, unsigned long cpu);

#endif /* IRQ_H */
ion>space:mode:
authorJan Kara <jack@suse.cz>2016-12-14 15:07:47 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-14 16:04:09 -0800
commita6abc2c0e77b16480f4d2c1eb7925e5287ae1526 (patch)
tree10bf5b877550bdcb4aac550b4bb9fd14772129fb /fs/dax.c
parentcae1240257d9ba4b40eb240124c530de8ee349bc (diff)
dax: make cache flushing protected by entry lock
Currently, flushing of caches for DAX mappings was ignoring entry lock. So far this was ok (modulo a bug that a difference in entry lock could cause cache flushing to be mistakenly skipped) but in the following patches we will write-protect PTEs on cache flushing and clear dirty tags. For that we will need more exclusion. So do cache flushing under an entry lock. This allows us to remove one lock-unlock pair of mapping->tree_lock as a bonus. Link: http://lkml.kernel.org/r/1479460644-25076-19-git-send-email-jack@suse.cz Signed-off-by: Jan Kara <jack@suse.cz> Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/dax.c')
-rw-r--r--fs/dax.c61
1 files changed, 39 insertions, 22 deletions
diff --git a/fs/dax.c b/fs/dax.c