summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add missing list and lock destruction.pjd2010-04-181-0/+2
|
* Extend locks scope to match OpenSolaris.pjd2010-04-181-5/+2
|
* Remove racy assertion.pjd2010-04-181-3/+0
| | | | Obtained from: OpenSolaris
* Set ARC_L2_WRITING on L2ARC header creation.pjd2010-04-181-0/+1
| | | | Obtained from: OpenSolaris
* ln: Refuse deleting a directory entry by hardlinking it to itself.jilles2010-04-171-2/+59
| | | | | | | | | | | | | | Two pathnames refer to the same directory entry iff the directories match and the final components' names match. Example: (assuming file1 is an existing file) ln -f file1 file1 This now fails while leaving file1 intact. It used to delete file1 and then complain it cannot be linked because it is gone. With -i, this error is detected before the question is asked. MFC after: 2 weeks
* Use ubthidhci_enable="NO" to avoid the bootup warning.rpaulo2010-04-171-1/+1
| | | | | Submitted by: Jilles Tjoelker <jilles@stack.nl> MFC after: 3 days
* In vm_object_madvise() setting PG_REFERENCED on a page before sleeping onalc2010-04-171-2/+9
| | | | | | | | | | | | | that page only makes sense if the advice is MADV_WILLNEED. In that case, the intention is to activate the page, so discouraging the page daemon from reclaiming the page makes sense. In contrast, in the other cases, MADV_DONTNEED and MADV_FREE, it makes no sense whatsoever to discourage the page daemon from reclaiming the page by setting PG_REFERENCED. Wrap a nearby line. Discussed with: kib MFC after: 3 weeks
* In case a user wants to configure only an IPv6 link-local addressdougb2010-04-172-0/+8
| | | | add an example that shows how to do it.
* In vm_object_backing_scan(), setting PG_REFERENCED on a page beforealc2010-04-171-3/+0
| | | | | | | | | | | | | | | sleeping on that page is nonsensical. Doing so reduces the likelihood that the page daemon will reclaim the page before the thread waiting in vm_object_backing_scan() is reawakened. However, it does not guarantee that the page is not reclaimed, so vm_object_backing_scan() restarts after reawakening. More importantly, this muddles the meaning of PG_REFERENCED. There is no reason to believe that the caller of vm_object_backing_scan() is going to use (i.e., access) the contents of the page. There is especially no reason to believe that an access is more likely because vm_object_backing_scan() had to sleep on the page. Discussed with: kib MFC after: 3 weeks
* Remove IPW_LOCK_DECL and fix various LORs.bschmidt2010-04-172-22/+16
| | | | Approved by: rpaulo (mentor)
* Use iv_appie_wpa, with this commit WPA works again.bschmidt2010-04-171-2/+2
| | | | Approved by: rpaulo (mentor)
* - Make ipw usable again by moving directly into ASSOC state.bschmidt2010-04-171-1/+7
| | | | | | | - No need to manually switch to RUN state, assoc response takes care of that. Approved by: rpaulo (mentor)
* Pass correct RSSI to ieee80211_input*().bschmidt2010-04-171-2/+2
| | | | Approved by: rpaulo (mentor)
* Fix comment about ipw_assoc and remove some whitespaces; no functionalbschmidt2010-04-171-6/+6
| | | | | | changes. Approved by: rpaulo (mentor)
* Setting PG_REFERENCED on the requested page in swap_pager_getpages() isalc2010-04-171-5/+1
| | | | | | | | | | | either redundant or harmful, depending on the caller. For example, when called by vm_fault(), it is redundant. However, when called by vm_thread_swapin(), it is harmful. Specifically, if the thread is later swapped out, having PG_REFERENCED set on its stack pages leads the page daemon to reactivate these stack pages and delay their reclamation. Reviewed by: kib MFC after: 3 weeks
* getcwd(3): Clarify that EACCES may or may not be checked.jilles2010-04-171-3/+11
| | | | | | | | | | | | | | | | POSIX permits but does not require checking access on the current and parent directories. Because various programs do not like it if getcwd(3) fails, it seems best to avoid checking access as much as possible. There are various reports in GNATS about this (search for getcwd). Our getcwd(3) implementation first queries the kernel for the pathname directly, which does not check any permissions but sometimes fails, and then falls back to reading all parent directories for the names. PR: standards/44425 MFC after: 2 weeks
* sh: On startup of the shell, use PWD from the environment if it is valid.jilles2010-04-174-10/+48
| | | | | | | | | | | | | | | Unset PWD if it is incorrect and no value for it can be determined. This preserves the logical current directory across shell invocations. Example (assuming /home is a symlink): $ cd $ pwd /home/foo $ sh $ pwd /home/foo Formerly the second pwd would show the physical path (symlinks resolved).
* Fix a bug where SACKs are not sent when they should.tuexen2010-04-171-8/+13
| | | | | | | Move some protection code to INVARIANTS. Cleanups. MFC after: 3 days.
* Add another ICH7M chipset that works.rpaulo2010-04-171-0/+1
| | | | MFC after: 1 week
* o) Make pcb_onfault a pointer rather than an obscure integer value.jmallett2010-04-177-548/+459
| | | | | | | | | | | | | | | | | | | o) Mask off PAGE_MASK bits in pmap_update_page, etc., rather than modifying the badvaddr in trapframe. Some nearby interfaces already did this. o) Make PTEs "unsigned int" for now, not "unsigned long" -- we are only ready for them to be 32-bit on 64-bit platforms. o) Rather than using pmap_segmap and calculating the offset into the page table by hand in trap.c, use pmap_pte(). o) Remove unused quad_syscall variable in trap.c. o) Log things for illegal instructions like we do for bad page faults. o) Various cast cleanups related to how to print registers. o) When logging page faults, show the page table information not just for the program counter, but for the fault address. o) Modify support.S to use ABI-neutral macros for operating on pointers. o) Consistently use CALLFRAME_SIZ rather than STAND_FRAME_SIZE, etc. o) Remove unused insque/remque functions. o) Remove some coprocessor 0 accessor functions implemented in assembly that are unused and have inline assembly counterparts.
* o) Add NPDEPG, like NPTEPG but for PDEs.jmallett2010-04-1712-78/+54
| | | | | | | | o) Remove NBPG, PGOFSET and PGSHIFT. Use the standard names. o) Remove some unused macros and move things from param.h to vmparam.h that belong in the latter. (Actually, all of the kernel segment values, virtual addresses, etc., belong in one place, but this is a step in the right direction.)
* o) Add SMP support for Octeon using U-Boot to launch all the processors at thejmallett2010-04-1711-513/+210
| | | | | | | | | | | | | | | | | | | same time. o) Remove some unused trivial uart functions from octeon_machdep now that the uart part is fully working and they are unused. o) Use __func__ instead of __FUNCTION__. o) Use intr_*() instead of other routines that do the same thing. o) Remove some duplicate printfs from the Octeon port, as well as duplicate setting of Maxmem. o) Use the right frequency divider on Octeon. o) Use PCPU_GET(cpuid) consistently to get the cpuid of the running core. o) Remove some unused macros in the Octeon port. o) Use mips_sync() around use of the global dpcpu, whose value may not be visible to APs at first. o) When loading the first thread's stack, use macros to make the code correct for n64 as well. o) Remove stub, do-nothing FAU init/enable/disable functions from the RGMX driver.
* o) Back out my previous change to SWARM; some of it was to address an issuejmallett2010-04-172-16/+13
| | | | | | that turned out to be unrelated, and the rest was, as pointed out by Neel, just wrong-headed. o) Tweak mem.c to fix use of /dev/kmem for direct-mapped addresses.
* o) Use inline functions to access coprocessor 0 registers rather than externaljmallett2010-04-1716-417/+214
| | | | | | | | | | | | | | | | | | | | ones implemented using assembly. o) Use TRAPF_USERMODE() consistently rather than USERMODE(). Eliminate <machine/psl.h> as a result. o) Use intr_*() rather than *intr(), consistently. o) Use register_t instead of u_int in some trap code. o) Merge some more endian-related macros to machine/asm.h from NetBSD. o) Add PTR_LI macro, which loads an address with the correct sign-extension for a pointer. o) Restore interrupts when bailing out due to an excessive IRQ in nexus_setup_intr(). o) Remove unused functions from psraccess.S. o) Enter temporary virtual entries for large memory access into the page tables rather than simply hoping they stay resident in the TLB and we don't need to do a refill for them. o) Abstract out large memory mapping setup/teardown using some macros. o) Do mips_dcache_wbinv_range() when using temporary virtual addresses just like we do when we can use the direct map.
* o) Remove code related to VM_ALLOC_WIRED_TLB_PG_POOL, VM_KERNEL_ALLOC_OFFSETjmallett2010-04-176-338/+59
| | | | and floating pages. They are unused and unsupported.
* Adjust limits and formats for ABIs with 64-bit longs.jmallett2010-04-162-46/+56
|
* o) Use the direct map where possible for uiomove_fromphys, based on code fromjmallett2010-04-164-214/+152
| | | | | | | sparc64. o) Use uiomove_fromphys rather than the broken fpage mechanism for /dev/mem. o) Update sf_buf allocator to not share buffers and to do a pmap_qremove when done with an sf_buf so as to better track valid mappings.
* o) Fix the intr_* functions to not spam the whole status register, just the IEjmallett2010-04-161-56/+45
| | | | | | | | bit. o) Remove some unused inlines. o) Generate CP0 access functions for 64-bit TLB registers when building for n64. o) Add an inline function version of the COP0_SYNC macro.
* Set KERNLOADADDR and TARGET_BIG_ENDIAN for SWARM.jmallett2010-04-161-0/+5
|
* fnmatch: Fix bad FNM_PERIOD disabling if an asterisk has been seen.jilles2010-04-162-8/+9
| | | | | | | Example: fnmatch("a*b/*", "abbb/.x", FNM_PATHNAME | FNM_PERIOD) PR: 116074 MFC after: 1 week
* Add some tests for fnmatch(3).jilles2010-04-162-1/+336
| | | | MFC after: 1 week
* Expose a few symbols as public interface rather than private.delphij2010-04-161-6/+6
| | | | | | | | Note: the *64 interfaces are no longer exposed via zlib.h but were keep as public interfaces; Note 2: this commit would break applications that uses the moved symbols directly.
* MFV: libz 1.2.4.3.delphij2010-04-1611-35/+104
|
* Add ubthidhci.rpaulo2010-04-161-0/+4
| | | | MFC after: 2 days
* Remove the tx queue selection based on the cpu whejfv2010-04-161-13/+15
| | | | | | | | no flowid is present, this was causing some bad reordering, now just use 0. Also, add a few watchdog bits, and tx handler bits that were corrected in igb.
* Revert r206560. The change doesn't work correctly in all cases withjh2010-04-162-24/+0
| | | | multiple devfs mounts.
* Fix log size calculation which caused message truncation.pjd2010-04-161-1/+1
| | | | | Submitted by: Mikolaj Golub <to.my.trociny@gmail.com> MFC after: 3 days
* Fix control socket leak when worker process exits.pjd2010-04-161-0/+1
| | | | | Submitted by: Mikolaj Golub <to.my.trociny@gmail.com> MFC after: 3 days
* Remove some unused header files.jmallett2010-04-167-613/+8
|
* Add mutex lock calls to 2 cases in the experimental NFS client'srmacklem2010-04-151-2/+6
| | | | | | renew thread where they were missing. MFC after: 1 week
* Utilize IP_BINDANY which provided the same semantics of OpenBSD'sdelphij2010-04-151-4/+2
| | | | SO_BINDANY.
* The experimental NFS client was not filling in recovery credentialsrmacklem2010-04-155-3/+19
| | | | | | | | | | | for opens done locally in the client when a delegation for the file was held. This could cause the client to crash in crsetgroups() when recovering from a server crash/reboot. This patch fills in the recovery credentials for this case, in order to avoid the client crash. Also, add KASSERT()s to the credential copy functions, to catch any other cases where the credentials aren't filled in correctly. MFC after: 1 week
* indent(1): don't treat bare '_t' as a type name when -ta is usedavg2010-04-151-2/+3
| | | | | | | | | | It seems that identifier "_t" is sometimes used as a variable name, even in our tree. Not that I endorse that, but still it's better to require at least one character before _t suffix to consider an identifier to be a type name. Reported by: Alex Vasylenko <lxv@omut.org> MFC after: 1 week
* If a service is running, make 'stop' work even if ${name}_enabledougb2010-04-151-3/+3
| | | | | | | | is not set. PR: conf/130414 Submitted by: Dominic Fandrey <kamikaze@bsdforen.de> Reviewed by: freebsd-rc@
* - Fix a typo OFFCORE_REQUESTS.ANY.RFO is B0H10H and not 80H10H.fabient2010-04-152-2/+3
| | | | | | - Enable missing PARTIAL_ADDRESS_ALIAS for Core i7. MFC after: 3 days
* Diff reduction with OpenBSD:delphij2010-04-152-23/+8
| | | | | | | - Remove unused locally added variable; - Deprecate -o: it's the default behavior on OpenBSD. X-MFC: along with nc 4.7.
* Fix include path.yongari2010-04-151-1/+1
|
* Fix typo.kib2010-04-151-1/+1
| | | | MFC after: 3 days
* Increase ggate queue size to maximum value.pjd2010-04-151-1/+1
| | | | | | | HAST was not able to stand heavy random load. Reported by: Hiroyuki Yamagami MFC after: 3 days
* Use spaces instead of tab for indent here.pjd2010-04-151-2/+2
|
OpenPOWER on IntegriCloud