Commit bc40d73
splice: use get_user_pages_fast
Use get_user_pages_fast in splice. This reverts some mmap_sem batching
there, however the biggest problem with mmap_sem tends to be hold times
blocking out other threads rather than cacheline bouncing. Further: on
architectures that implement get_user_pages_fast without locks, mmap_sem
can be avoided completely anyway.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Dave Kleikamp <shaggy@austin.ibm.com>
Cc: Andy Whitcroft <apw@shadowen.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Dave Kleikamp <shaggy@austin.ibm.com>
Cc: Badari Pulavarty <pbadari@us.ibm.com>
Cc: Zach Brown <zach.brown@oracle.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Reviewed-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent f5dd33c commit bc40d73
1 file changed
+3
-38
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1160 | 1160 | | |
1161 | 1161 | | |
1162 | 1162 | | |
1163 | | - | |
1164 | | - | |
1165 | | - | |
1166 | | - | |
1167 | | - | |
1168 | | - | |
1169 | | - | |
1170 | | - | |
1171 | | - | |
1172 | | - | |
1173 | | - | |
1174 | | - | |
1175 | | - | |
1176 | | - | |
1177 | | - | |
1178 | | - | |
1179 | | - | |
1180 | | - | |
1181 | | - | |
1182 | | - | |
1183 | | - | |
1184 | | - | |
1185 | | - | |
1186 | | - | |
1187 | | - | |
1188 | | - | |
1189 | | - | |
1190 | | - | |
1191 | | - | |
1192 | | - | |
1193 | 1163 | | |
1194 | 1164 | | |
1195 | 1165 | | |
| |||
1203 | 1173 | | |
1204 | 1174 | | |
1205 | 1175 | | |
1206 | | - | |
1207 | | - | |
1208 | 1176 | | |
1209 | 1177 | | |
1210 | 1178 | | |
| |||
1213 | 1181 | | |
1214 | 1182 | | |
1215 | 1183 | | |
1216 | | - | |
| 1184 | + | |
1217 | 1185 | | |
1218 | 1186 | | |
1219 | 1187 | | |
| |||
1247 | 1215 | | |
1248 | 1216 | | |
1249 | 1217 | | |
1250 | | - | |
1251 | | - | |
1252 | | - | |
| 1218 | + | |
| 1219 | + | |
1253 | 1220 | | |
1254 | 1221 | | |
1255 | 1222 | | |
| |||
1288 | 1255 | | |
1289 | 1256 | | |
1290 | 1257 | | |
1291 | | - | |
1292 | | - | |
1293 | 1258 | | |
1294 | 1259 | | |
1295 | 1260 | | |
| |||
0 commit comments