Commit Graph

208875 Commits

Author SHA1 Message Date
para
30980bdf1d convert from malloc(9) to kmem(9) 2012-01-29 16:24:51 +00:00
para
2fee8b532f adapt to recent changes in uvm 2012-01-29 16:24:01 +00:00
phx
2be87fafe3 Add support for RDB-partitioned disks.
When an RDB block was found on the disk we cannot change the disk layout,
and everything which has to do with MBR partitioning will be skipped.
2012-01-29 16:01:36 +00:00
phx
ba87b849a9 Introduce some initial documentation for NetBSD/ofppc. 2012-01-29 15:54:35 +00:00
para
8c064ceca8 adapt to extent(9) changes 2012-01-29 15:32:52 +00:00
njoly
e334a4ccda Move pool subsystem init from rump__init() to uvm_init(), following
kernel code. Fix RUMP_LOCKDEBUG early panic.
2012-01-29 14:57:31 +00:00
para
33c295ed5b move condvar calls under interlock protection
call uvm_kick_pdaemon in case we can sleep and no space in arena
2012-01-29 13:38:15 +00:00
isaki
2d7a337c5f Make it compile with EM_DEBUG (..here, EM_ is EXTENDED_MEMORY). 2012-01-29 12:43:00 +00:00
para
cf91957c71 size kmem_arena more sanely for small memory machines 2012-01-29 12:37:01 +00:00
para
f4d4e8ed76 sprinkel some #ifdef QUOTA2 to avoid unused variables 2012-01-29 11:59:14 +00:00
para
cdc400a53c fix sparc after kmem_map is gone 2012-01-29 11:49:58 +00:00
drochner
38123a2b84 remove incomplete conversion to kmem_alloc -- inconsistent use
leads at least to diagnostic panics
2012-01-29 11:49:02 +00:00
drochner
67baa3b64c don't mess with the PDP pool cache before it is initialized,
prevents at least LOCKDEBUG panics
2012-01-29 11:45:37 +00:00
wiz
be748bdcc2 Add Nm for __clone, man page is already linked to that name.
Noted by Abhinav Upadhyay.
2012-01-29 11:44:54 +00:00
cherry
bdf31dbb7a remove obsolete comment 2012-01-29 11:37:44 +00:00
cherry
f327d63d22 Remove apte related shootdowns. 2012-01-29 11:37:08 +00:00
wiz
f4788d8f8e New sentence, new line. Remove trailing whitespace.
Bump PKGREVISION for previous.
2012-01-29 11:32:23 +00:00
drochner
26613330c6 extend the pci_aprint_devinfo slightly to cover the cases commonly
used by drivers: a short name for the quiet/naive case and a string
to override the "pcidevs" based name by one provided by the driver,
ride on yesterday's kernel minor version bump
2012-01-29 11:31:38 +00:00
para
f03b7a6082 remove left over macro after kmem_map is gone 2012-01-29 11:14:49 +00:00
mbalmer
381db9aca6 Note ifconfig(8) changes. 2012-01-29 11:04:48 +00:00
tsutsui
7b5ba30568 Build additional C700 kernel (for now). 2012-01-29 10:36:33 +00:00
tsutsui
3359605142 OMRON was Tateisi Electronics, not Tateishi Electric.
http://www.omron.com/about/corporate/history/chronicle/
2012-01-29 10:32:53 +00:00
tsutsui
133b3f7914 NetBSD/zaurus now supports SL-C7x0/860/1000/3x00. 2012-01-29 10:29:53 +00:00
tsutsui
32fb230bd1 Note zaurus SL-C700/750/760/860 suuport. 2012-01-29 10:28:13 +00:00
tsutsui
533071c4dd Add PXA25x based Zaurus SL-C700/750/760/860 support.
All porting work was done by TOYOKURA Atsushi, with
several minor adjustments for integration by me and nonaka@.

His SL-C700 first running NetBSD/zaurus was demonstrated on
NetBSD booth at Open Source Canference 2011 Tokyo/Fall:
http://www.NetBSD.org/gallery/events.html#opensourceconf2011-tokyofall

Note GENERIC kernel works on SL-C750/760/860 (and C1000/3x00) but for now
SL-C700 requires its own kernel with special KERNEL_BASE_PHYS address
due to zbsdmod.o loader restriction (probably caused its small 32MB RAM).
2012-01-29 10:12:41 +00:00
tsutsui
ff59a9b10b Handle PXA25x specific DMAC constraints. From kiyohara@. 2012-01-29 09:08:04 +00:00
dholland
762237230c Fix 32-bit build 2012-01-29 09:01:31 +00:00
tsutsui
b7938d8f67 Fix errors in !defined(QUOTA) && !defined(QUOTA2) case. 2012-01-29 08:49:01 +00:00
dholland
60d82a4ef2 Fix unsightly botch in repquota's heading output. 2012-01-29 07:23:52 +00:00
dholland
d4eb245ce8 5.99.62: new VFS_QUOTACTL interface. 2012-01-29 07:23:02 +00:00
dholland
3f04ff889d malloc -> kmem_alloc, by request of rmind 2012-01-29 07:21:59 +00:00
dholland
fa44ae5a8b Clean up quota2 cursoring, as promised earlier. 2012-01-29 07:21:00 +00:00
dholland
91b591da43 quota2_check_limit() is used in only one place, so don't stuff it in a
header file.
2012-01-29 07:20:27 +00:00
dholland
27eb63df33 Some further tidying for the COMPAT_50 quotactl code. Mostly cosmetic,
but also use PNBUF_GET() and PNBUF_PUT() for a path buffer instead of
malloc with M_TEMP.
2012-01-29 07:19:48 +00:00
dholland
306e2450d7 Remove the proplib goop from the COMPAT_50 code for the old quotactl;
use the new VFS_QUOTACTL instead.
2012-01-29 07:19:04 +00:00
dholland
a9f1a86676 Remove #if 0'd proplib-related code. 2012-01-29 07:18:17 +00:00
dholland
b5bdca69dd Remove now-unused declarations from quota2.h. 2012-01-29 07:17:41 +00:00
dholland
37dccadd0f Remove references to <quota/quotaprop.h> in src/sys/ufs.
The remaining references in the kernel are in vfs_quotactl.c, the
compat_50 code for the old quotactl (to be fixed up), and the
code compiled from src/common/lib/libquota.
2012-01-29 07:16:53 +00:00
dholland
f0f8fe3be2 Rename static inline "helper" functions:
ufsclass2qtype -> quota_idtype_to_ufs
   qtype2ufsclass -> quota_idtype_from_ufs

The reason for the direction of "ufs" changing is that the old names
were among the symbols using "ufs" to mean "fs-independent". So the
old names were for translating "ufsclass" (fs-independent quota id
type) to "qtype" (ufs-specific quota id type) and vice versa.

These functions are used in only two places, both of which are
inappropriate, so at some point they should probably be removed.
They're also identity transformations so not particularly helpful,
unless one were to make a careful and concerted effort to distinguish
the ufs quota code numbers from the fs-independent ones. This has not
been done and is probably impossible without support from a program
verifier, and maybe not even then.

They are static inline, so no compat concerns arise.

Also adjust the symbols they use to avoid <quota/quotaprop.h>.
2012-01-29 07:16:00 +00:00
dholland
569f4e677f Remove the extra op argument to VFS_QUOTACTL() - the op is now stored
purely in the args structure.

This change requires a kernel version bump.
2012-01-29 07:14:38 +00:00
dholland
2246330b84 Tidy up the VFS_QUOTACTL interface. Renumber the command codes in a
logical order (as opposed to the previous order, which accumulated
arbitrarily), remove the separate codes for argument encoding as
there's now a 1-1 mapping between ops and argument substructures,
and assert in VFS_QUOTACTL() itself that the op in the args structure
matches the op passed directly.

This change requires a kernel version bump.
2012-01-29 07:13:42 +00:00
dholland
7f2ebd204c Change QUOTACTL_GETVERSION to QUOTACTL_STAT. Add struct quotastat.
This change requires a kernel version bump.
2012-01-29 07:12:40 +00:00
dholland
8e8ca4e548 Move proplib bits for QUOTACTL_QUOTAOFF out of the ufs code.
This change requires a kernel version bump.
2012-01-29 07:11:55 +00:00
dholland
7302da533e Move the proplib bits for QUOTACTL_QUOTAON out of the ufs code.
This change requires a kernel version bump.
2012-01-29 07:11:12 +00:00
dholland
6fc26625df Use QUOTACTL_CURSORSKIPIDTYPE and QUOTACTL_CURSORATEND in
vfs_quotactl. Have it restart from the beginning if it receives
EDEADLK, which requires QUOTACTL_CURSORREWIND.
2012-01-29 07:10:24 +00:00
dholland
a6c55fc2db Add QUOTACTL_CURSORSKIPIDTYPE, QUOTACTL_CURSORATEND, QUOTACTL_CURSORREWIND.
This change requires a kernel version bump.
2012-01-29 07:09:52 +00:00
dholland
32d1d988da Don't pass the idtype to QUOTACTL_GETALL. Instead, iterate both users
and groups.

This change requires a kernel version bump.
2012-01-29 07:08:58 +00:00
dholland
876e5535b9 Fix a preexisting array overrun and a preexisting free twice exposed
by cleanup and testing.
2012-01-29 07:08:00 +00:00
dholland
de22be5e7d Call QUOTACTL_GETALL in a loop to get results 8 at a time. Make
the QUOTACTL_GETALL interface less abusive.

Note: this change requires a kernel version bump.
2012-01-29 07:07:22 +00:00
dholland
dee2efa7f8 Rearrange result processing for QUOTACTL_GETALL. 2012-01-29 07:06:37 +00:00