svn commit: r218425 - in head: . sys/kern sys/sys
Matthew D Fleming
mdf at FreeBSD.org
Tue Feb 8 00:36:47 UTC 2011
Author: mdf
Date: Tue Feb 8 00:36:46 2011
New Revision: 218425
URL: http://svn.freebsd.org/changeset/base/218425
Log:
Remove the uio_yield prototype and symbol. This function has been
misnamed since it was introduced and should not be globally exposed
with this name. The equivalent functionality is now available using
kern_yield(curthread->td_user_pri). The function remains
undocumented.
Bump __FreeBSD_version.
Modified:
head/UPDATING
head/sys/kern/subr_uio.c
head/sys/sys/param.h
head/sys/sys/uio.h
Modified: head/UPDATING
==============================================================================
--- head/UPDATING Tue Feb 8 00:16:36 2011 (r218424)
+++ head/UPDATING Tue Feb 8 00:36:46 2011 (r218425)
@@ -22,6 +22,13 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 9.
machines to maximize performance. (To disable malloc debugging, run
ln -s aj /etc/malloc.conf.)
+20110207:
+ Remove the uio_yield prototype and symbol. This function has
+ been misnamed since it was introduced and should not be
+ globally exposed with this name. The equivalent functionality
+ is now available using kern_yield(curthread->td_user_pri).
+ The function remains undocumented.
+
20110112:
A SYSCTL_[ADD_]UQUAD was added for unsigned uint64_t pointers,
symmetric with the existing SYSCTL_[ADD_]QUAD. Type checking
Modified: head/sys/kern/subr_uio.c
==============================================================================
--- head/sys/kern/subr_uio.c Tue Feb 8 00:16:36 2011 (r218424)
+++ head/sys/kern/subr_uio.c Tue Feb 8 00:36:46 2011 (r218425)
@@ -352,13 +352,6 @@ again:
return (0);
}
-void
-uio_yield(void)
-{
-
- kern_yield(curthread->td_user_pri);
-}
-
int
copyinfrom(const void * __restrict src, void * __restrict dst, size_t len,
int seg)
Modified: head/sys/sys/param.h
==============================================================================
--- head/sys/sys/param.h Tue Feb 8 00:16:36 2011 (r218424)
+++ head/sys/sys/param.h Tue Feb 8 00:36:46 2011 (r218425)
@@ -58,7 +58,7 @@
* in the range 5 to 9.
*/
#undef __FreeBSD_version
-#define __FreeBSD_version 900031 /* Master, propagated to newvers */
+#define __FreeBSD_version 900032 /* Master, propagated to newvers */
#ifdef _KERNEL
#define P_OSREL_SIGSEGV 700004
Modified: head/sys/sys/uio.h
==============================================================================
--- head/sys/sys/uio.h Tue Feb 8 00:16:36 2011 (r218424)
+++ head/sys/sys/uio.h Tue Feb 8 00:36:46 2011 (r218425)
@@ -94,7 +94,6 @@ int copyiniov(struct iovec *iovp, u_int
int copyinstrfrom(const void * __restrict src, void * __restrict dst,
size_t len, size_t * __restrict copied, int seg);
int copyinuio(struct iovec *iovp, u_int iovcnt, struct uio **uiop);
-void uio_yield(void);
int uiomove(void *cp, int n, struct uio *uio);
int uiomove_frombuf(void *buf, int buflen, struct uio *uio);
int uiomove_fromphys(struct vm_page *ma[], vm_offset_t offset, int n,
More information about the svn-src-head
mailing list