NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-arm/49145: readonly mbuf is not writebacked by _bus_dmamap_sync_segment() nor sosend_loan()



The following reply was made to PR port-arm/49145; it has been noted by GNATS.

From: Ryo Shimizu <ryo%nerv.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: port-arm-maintainer%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
    netbsd-bugs%netbsd.org@localhost, ryo%nerv.org@localhost
Subject: Re: port-arm/49145: readonly mbuf is not writebacked by 
_bus_dmamap_sync_segment() nor sosend_loan()
Date: Sun, 24 Aug 2014 18:05:16 +0900

 > If this is a readonly mbuf, then =
 > BUS_DMASYNC_PREREAD|BUS_DMASYNC_PREWRITE
 > is invalid for it.  If it's readonly, it shouldn't be written to!!!=
 
 oh...exactly right!
 Sorry I have used bus_dmamap_sync with 
BUS_DMASYNC_PREREAD|BUS_DMASYNC_PREWRITE.
 It works fine with BUS_DMASYNC_PREWRITE.
 
 There was no problem. Please close this PR.
 
 --
 ryo shimizu
 


Home | Main Index | Thread Index | Old Index