Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (8h)  netbsd-10 (18d)  netbsd-9 (18d)  netbsd-8 (23d) 

2024-06-04 03:20:37 UTC Now

2010-06-01 22:13:30 UTC MAIN commitmail json YAML

Add __cacheline_aligned and __read_mostly annotations.

These annotations help to mitigate false sharing on multiprocessor
systems.

Variables annotated with __cacheline_aligned are placed into the
.data.cacheline_aligned section in the kernel. Each item in this
section is aligned on a cachline boundary - this avoids false
sharing. Highly contended global locks are a good candidate for
__cacheline_aligned annotation.

Variables annotated with __read_mostly are packed together tightly
into a .data.read_mostly section in the kernel. The idea here is that
we can pack infrequently modified data items into a cacheline and
avoid having to purge the cache, which would happen if read mostly
data and write mostly data shared a cachline. Initialisation variables
are a prime candiate for __read_mostly annotations.

(mjf)

2009-05-23 17:50:34 UTC MAIN commitmail json YAML

After a recent WARNS= bump on ld.elf_so it fails to build on hppa,
complaining that we're "discarding qualifier from pointer target
type".

Use const char * instead of caddr_t to avoid the warning and get
distribution building on hppa again.

(mjf)

2009-05-17 18:21:29 UTC MAIN commitmail json YAML

u_intNN_t -> uintNN_t

(mjf)

2009-05-17 14:09:15 UTC MAIN commitmail json YAML

Add an exmaple of unmounting all file systems apart from NFS and MFS
e.g,

umount -a -t nonfs,mfs

This makes it clear that the "no prefix" only needs to be on the first
file-system argument to -t. The mount(8) man page has a clear example
of this but for some reason umount(8) was missing one.

(mjf)

2009-05-16 16:06:06 UTC MAIN commitmail json YAML

Add PA-RISC 2.0 PIM support.

Fix the HPMC exception handler so that, if we're running on a PA-RISC
2.0 machine, we use the 64-bit PIM data structures.

There was also a bug in the HPMC exception handler that stopped output
being written to the console after we'd taken the exception. We need
to make a PDC_IO pdc call to reset I/O.

(mjf)

2009-04-16 12:56:07 UTC MAIN commitmail json YAML

Add a license with my name on it. Suggested by skrll@

(mjf)

2009-04-15 20:07:58 UTC MAIN commitmail json YAML

Get audio capture fully working with harmony(4) and fix PR/35239.

skrll@ reports that with this patch he can record and playback audio.
Suprisingly the bug was actually with playback and not with capture.
When not capturing or playing audio we write to or read from "empty
buffers", the problem was that playback and capture were using the same
buffer and the playback code managed to pick up a bit of data that was
written from the capture code.

(mjf)

2009-04-02 19:02:43 UTC MAIN commitmail json YAML

Continue my crusade - queueing -> queuing

(mjf)

2009-03-07 17:00:16 UTC MAIN commitmail json YAML

Queueing -> Queuing

(mjf)

2009-03-02 10:08:51 UTC MAIN commitmail json YAML

Typo, "Queueing" -> "Queuing"

(mjf)

2009-02-27 12:55:15 UTC MAIN commitmail json YAML

Typo and grammar fixes.

- s/though/through/ appropriately.
- autoconf(4) doesn't exist, autoconf(9) is the correct reference.

(mjf)

2009-02-26 19:17:02 UTC MAIN commitmail json YAML

2009-02-26 19:13:38 UTC MAIN commitmail json YAML

Add Initio INIC-1622 SATA Controller.

(mjf)

2009-02-23 13:24:41 UTC nick-hppapmap commitmail json YAML

Doh, I somehow didn't commit these two changes initially.

Set pwr_sw_control by hand instead of calling the wrapper function
because the wrapper may invoke the cold_hook func, which is undesirable
at attach time. Remove the check for cold != 0 in pwr_sw_ctrl(), we
know when it is called (only when the machine is warm).

(mjf)

2009-02-22 19:38:15 UTC nick-hppapmap commitmail json YAML

2009-02-20 13:17:58 UTC MAIN commitmail json YAML

Document the Processor-Dependent Code firmware driver. From OpenBSD.

(mjf)

2009-02-19 14:28:41 UTC nick-hppapmap commitmail json YAML

- Remove needless assignments to 'nca' seeing as it gets zero'd out before
  being used again.
- Update a comment to explain that we attach all CPUs and memory
  controllers in one step - we don't attach the main CPU first and then
  additional CPUs.

(mjf)

2009-02-13 11:39:09 UTC nick-hppapmap commitmail json YAML

Make sure the pipline has been completely flushed after executing an rfi
instruction. Without this I was being hit with an "Illegal instruction"
trap.

(mjf)

2009-01-19 19:15:07 UTC MAIN commitmail json YAML

mscp(4) was being a bad monkey! It's not OK to call config_found() from
interrupt context, as my vax kernel with DIAGNOSTIC told me. Instead, we
defer the work and get it to run in thread context via a workqueue(9).

Thanks to matt@ for the review.

(mjf)

2009-01-17 22:56:15 UTC mjf-devfs2 commitmail json YAML

It seems that "fattr.h" moved and what I should now include is
"mountprog.h" to get a_gid() and a_uid().

(mjf)

2009-01-17 20:43:44 UTC mjf-devfs2 commitmail json YAML

2009-01-17 20:17:09 UTC mjf-devfs2 commitmail json YAML

2009-01-17 17:06:19 UTC MAIN commitmail json YAML

Fix printf format for suseconds_t

(mjf)

2009-01-17 17:05:17 UTC MAIN commitmail json YAML

Catch up with shlib major bump for all arm platforms.

(mjf)

2009-01-17 13:48:54 UTC mjf-devfs2 commitmail json YAML

2009-01-17 13:29:43 UTC mjf-devfs2 commitmail json YAML

2009-01-13 23:56:13 UTC MAIN commitmail json YAML

- Separate the COMPAT_13 and COMPAT_16 code into their own files and
  compile them only when the relevant config options are set.

- Provide a sendsig_sigcontext() implementation using the existing vax
  signal code; it already does the correct thing.

(mjf)

2009-01-06 15:52:27 UTC MAIN commitmail json YAML

Add missing dollar sign ($) for $NetBSD$ tag.

(mjf)

2009-01-06 13:23:31 UTC MAIN commitmail json YAML

The .if conditional crosses a line boundary, so add a backslash.

This fixes the kernel build for hppa.

(mjf)

2008-12-09 09:13:00 UTC nick-hppapmap commitmail json YAML

Back out my previous change. PMAP_NC is blatantly used, which means I
just broke the build.

(mjf)

2008-12-08 21:05:28 UTC nick-hppapmap commitmail json YAML

Delete PMAP_NC because it's never used. To mark a vmpage as uncacheable
we use pmap_pvh_attrs(TLB_UNCACHEABLE) instead.

(mjf)

2008-11-22 19:45:36 UTC nick-hppapmap commitmail json YAML

Bah! Fix my previous commit that broke the build. I should have converted
the cast I just removed to uint32_t.

(mjf)

2008-11-22 19:28:18 UTC nick-hppapmap commitmail json YAML

Don't cast 'pve->pv_va' to int, seeing as its type is vaddr_t (uint32_t).

(mjf)

2008-11-22 16:54:29 UTC nick-hppapmap commitmail json YAML

Fix a typo I saw when turning on TRAPDEBUG. struct pmap doesn't have
a pmap_space member, it should be pm_space.

(mjf)

2008-10-19 14:05:49 UTC MAIN commitmail json YAML

Fix debug code that had bitrotted. This allows the maple(4) driver to
be compiled with MAPLE_DEBUG defined.

o line 798: variable buf shadows previous local
o line 1425: event_thread is no longer a struct proc but now is
    a lwp_t. Use the correct p_pid member.

(mjf)

2008-10-05 20:11:34 UTC mjf-devfs2 commitmail json YAML

2008-10-05 16:47:47 UTC mjf-devfs2 commitmail json YAML

2008-09-28 11:17:15 UTC mjf-devfs2 commitmail json YAML

2008-09-28 11:09:22 UTC mjf-devfs2 commitmail json YAML

2008-09-28 10:41:07 UTC mjf-devfs2 commitmail json YAML

2008-09-23 14:07:11 UTC MAIN commitmail json YAML

Almost fix capturing audio with harmony(4).

There is a still a bug whereby a chunk of previously recorded data may
appear in the recorded audio file. This goes part way to fixing PR/35239

(mjf)

2008-09-13 18:51:11 UTC MAIN commitmail json YAML

Fix pseye_start_transfer() to return the return value of kthread_create()
instead of always returning 0.

(mjf)

2008-07-06 09:53:33 UTC mjf-devfs2 commitmail json YAML

If it is not impossible to internalize the proplib dictionary from
devsfd.conf then set errno to EINVAL so that the user has some idea what
went wrong.

(mjf)

2008-03-21 19:13:37 UTC mjf-devfs2 commitmail json YAML

DCTL_NEW_MOUNT events are also placed onto a separate "mount event" list.
They are removed from this list when a DCTL_UNMOUNT event for the
corresponding mount gets sent to dctl(4).

This allows devfsd(8) to always know about devfs mounts on a system,
even if one was mounted whilst devfsd was not running.

(mjf)

2008-03-21 16:51:01 UTC mjf-devfs2 commitmail json YAML

Add -s option which allows devfsd to run in the foreground and not wait
for new events. When there are no more events to be handled, it exits.

(mjf)

2008-03-20 18:56:28 UTC MAIN commitmail json YAML

struct componentname has no cn_lwp member anymore. Also update the data
types for the other struct members so they actually reflect sys/sys/namei.h

(mjf)

2008-03-20 12:26:12 UTC mjf-devfs2 commitmail json YAML

dctl:
- Make dctl see aware of device driver names being added and removed so
  that it can signal devfsd(8), which in turn will request device node
  creation of deletion from a particular devfs mount.

- Each device that registers the need for a device node also passes on
  some info about what sort of device they are. We now package this up
  in the dctl messaging framework to let devfsd(8) know.

- Use a dev_t for the cookie for each device that dctl(4) knows about. This
  was changed from a device_t because some devices (zero(4)) don't have
  corresponding device_t's.

- dctl mount functions have grown a visibility argument which specifies
  the default visibility for that mount.

- Since we want to get information about devices (for matching against
  rules) through ioctl calls to match against rules, but for userland
  to ioctl they need device nodes, dctl provides an "inner" ioctl function
  that calls the ioctl function of the device driver directly.

devfsd:
- Run in the background.

- Convert all output to use syslog(3).

- When devices are removed request the corresponding device node be
  removed from every devfs mount.

- Start using the dctl "innerioctl" facility to get information about
  devices which will be useful for matching. We're only handling disk
  devices, and can only grok information about a partition's file system
  type at the moment.

- Fix code that handles rules that specify filenames.

- Specifying visibility for device nodes now works.

mount_devfs:
- Catch up with devfs changes. Provide an -f option which means that the
  devfs can only be unmounted it if it forced.

- Provide -i option to specify that the default visibility for a mount
  should be invisible. This means device nodes are not visible in the
  devfs mount by default, rather they must have a rule for devfsd that
  specifies that they should be visible.

- Provide -v option that specifies a devfs mount should be visible.
  This is the default.

- Update man page to reflect these changes.

etc/defaults/rc.conf:
- Turn devfsd off by default.

Device nodes can now be dynamically created and removed from a device file
system.

(mjf)

2008-03-20 12:11:07 UTC mjf-devfs2 commitmail json YAML

- Introduce new API for allowing device drivers to register/unregister
  names for device nodes along with a corresponding dev_t.

- Make device drivers that technically never get attached and need device
  nodes (mem, zero, null) provide an initialisation function, which gets
  an entry in a table of init functions that devsw_init() calls when the
  device switch tables are initialised.

- Since we're moving to a new way of notifying devfsd(8) of new devices,
  we no longer need to link together struct devices.

(mjf)

2008-03-15 13:32:50 UTC mjf-devfs2 commitmail json YAML

- Special case mounting a devfs from init(8) so that a devfs cannot be
  unmounted unless it is forced. This is a (possibly temporary) workaround
  to the problem that the /etc/rc.d/root script umounts all file systems
  before mounting /.

- Clean up devfs_create_node() based on feedback from wrstuden@.

- Add devfs_remove_node() (counterpart to devfs_create_node).

- Add function to create a console and dctl(4) device node for every
  devfs mount.

- Support for VOP_MKNOD() on a devfs file system has been dropped, so
  that devfsd(8) can fully control device nodes that are created in devfs.

- Allow devfs to be mounted -o union.

(mjf)