diff options
author | alc <alc@FreeBSD.org> | 2005-02-13 06:23:13 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2005-02-13 06:23:13 +0000 |
commit | d0bed09103cb51294707cdd0a99306d0a6c7abef (patch) | |
tree | 56182c0c07ba6889dcd380bc24c283fa12eaf1e2 /sys/i386/include/sf_buf.h | |
parent | 9f778d1e48a6750547459224a180ae3ff08dfb24 (diff) | |
download | FreeBSD-src-d0bed09103cb51294707cdd0a99306d0a6c7abef.zip FreeBSD-src-d0bed09103cb51294707cdd0a99306d0a6c7abef.tar.gz |
Implement support for CPU private mappings within sf_buf_alloc().
Diffstat (limited to 'sys/i386/include/sf_buf.h')
-rw-r--r-- | sys/i386/include/sf_buf.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/i386/include/sf_buf.h b/sys/i386/include/sf_buf.h index 7d438f0..9076260 100644 --- a/sys/i386/include/sf_buf.h +++ b/sys/i386/include/sf_buf.h @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2003 Alan L. Cox <alc@cs.rice.edu> + * Copyright (c) 2003, 2005 Alan L. Cox <alc@cs.rice.edu> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -39,6 +39,9 @@ struct sf_buf { struct vm_page *m; /* currently mapped page */ vm_offset_t kva; /* va of mapping */ int ref_count; /* usage of this mapping */ +#ifdef SMP + cpumask_t cpumask; /* cpus on which mapping is valid */ +#endif }; static __inline vm_offset_t |