Re: svn commit: r271213 - head/sys/mips/include

2014-09-06 Thread Gleb Smirnoff
Thanks, Adrian. I noticed that some arches that use SFBUF_MAP actually override only the sf_buf_unmap() routine, and sf_buf_map() matches the default one. Might be a good idea to add SFBUF_UNMAP macro, and override sf_buf_map()/sf_buf_unmap() separately, to reduce copy-n-paste a little bit.

svn commit: r271213 - head/sys/mips/include

2014-09-06 Thread Adrian Chadd
Author: adrian Date: Sat Sep 6 22:38:32 2014 New Revision: 271213 URL: http://svnweb.freebsd.org/changeset/base/271213 Log: Implement local sfbuf_map and sfbuf_unmap for MIPS32. The pre-rework behaviour was not to keep the cached mappings around after the sfbuf was used but instead to re