mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 09:02:44 +00:00
Revert rev 192323 (nfs_common.c only):
The D-cache flushing added here was to deal with I-cache incoherency observed on ia64. However, the problem was in the implementation of pmap_enter_object() for ia64: it was missing I-cache coherency logic for prefaulted pages. After this got added in rev 195625, testing showed that no D-cache flushing was required. The SIGILL that was observed on Book-E (see commit log for rev 192323) ended up not being related to I-cache incoherency, but was found to be caused by bad memory. This discovery further undermined the need for D-cache flushing in the NFS I/O code, triggering the reversal. Approved by: re (kensmith)
This commit is contained in:
parent
79bc145130
commit
b54b764c72
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=195631
@ -126,10 +126,9 @@ nfsm_mbuftouio(struct mbuf **mrep, struct uio *uiop, int siz, caddr_t *dpos)
|
||||
(mbufcp, uiocp, xfer);
|
||||
else
|
||||
#endif
|
||||
if (uiop->uio_segflg == UIO_SYSSPACE) {
|
||||
if (uiop->uio_segflg == UIO_SYSSPACE)
|
||||
bcopy(mbufcp, uiocp, xfer);
|
||||
cpu_flush_dcache(uiocp, xfer);
|
||||
} else
|
||||
else
|
||||
copyout(mbufcp, uiocp, xfer);
|
||||
left -= xfer;
|
||||
len -= xfer;
|
||||
|
Loading…
Reference in New Issue
Block a user