Up to [cvs.NetBSD.org] / src / sys / compat / linux / common
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.41, Sun May 3 01:06:56 2020 UTC (3 years ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-futex-base,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Changes since 1.40: +2 -2
lines
FILE REMOVED
Always clear FUTEX_PRIVATE_FLAG for Linux processes. NetBSD-native futexes exist in different namespace depending on FUTEX_PRIVATE_FLAG. This appears not to be the case in Linux, and some futex users will mix private and non- private ops on the same futex object. Provide a convenience wrapper that puts this logic in one place witn a comment explaining why. While here, move the Linux futex wrapper out of its own file and plop it in linux_misc.c, which is where it lives in the linux32 module.
Revision 1.40 / (download) - annotate - [select for diffs], Wed Apr 29 01:44:03 2020 UTC (3 years ago) by thorpej
Branch: MAIN
Changes since 1.39: +6 -4
lines
Diff to previous 1.39 (colored)
Oops, fix a silly mistake in the Linux futex syscall stubs -- we also copy in the timeout for FUTEX_WAIT_BITSET.
Revision 1.39 / (download) - annotate - [select for diffs], Sun Apr 26 18:53:33 2020 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.38: +24 -750
lines
Diff to previous 1.38 (colored)
Add a NetBSD native futex implementation, mostly written by riastradh@. Map the COMPAT_LINUX futex calls to the native ones.
Revision 1.37.14.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:00 2020 UTC (3 years, 1 month ago) by martin
Branch: phil-wifi
Changes since 1.37: +4 -3
lines
Diff to previous 1.37 (colored) next main 1.38 (colored)
Merge changes from current as of 20200406
Revision 1.38 / (download) - annotate - [select for diffs], Sat Mar 14 18:08:38 2020 UTC (3 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh
Changes since 1.37: +4 -3
lines
Diff to previous 1.37 (colored)
- Hide the details of SPCF_SHOULDYIELD and related behind a couple of small functions: preempt_point() and preempt_needed(). - preempt(): if the LWP has exceeded its timeslice in kernel, strip it of any priority boost gained earlier from blocking.
Revision 1.28.10.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:54 2017 UTC (5 years, 5 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.28.10.2: +58 -84
lines
Diff to previous 1.28.10.2 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)
update from HEAD
Revision 1.33.6.3 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:59 2017 UTC (5 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.33.6.2: +16 -10
lines
Diff to previous 1.33.6.2 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)
Sync with HEAD
Revision 1.34.2.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:10 2017 UTC (6 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.34: +16 -10
lines
Diff to previous 1.34 (colored) next main 1.35 (colored)
Sync with HEAD
Revision 1.35.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:42 2017 UTC (6 years, 1 month ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.35: +16 -10
lines
Diff to previous 1.35 (colored) next main 1.36 (colored)
Sync with HEAD
Revision 1.37 / (download) - annotate - [select for diffs], Mon Apr 10 15:04:32 2017 UTC (6 years, 1 month ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-localcount-20170426,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
bouyer-socketcan-base1,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: phil-wifi
Changes since 1.36: +7 -4
lines
Diff to previous 1.36 (colored)
Return value pointers should be the last argument.
Revision 1.36 / (download) - annotate - [select for diffs], Sun Apr 9 00:02:30 2017 UTC (6 years, 1 month ago) by dholland
Branch: MAIN
Changes since 1.35: +12 -9
lines
Diff to previous 1.35 (colored)
speed limit 80
Revision 1.33.6.2 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:38 2016 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.33.6.1: +20 -19
lines
Diff to previous 1.33.6.1 (colored) to branchpoint 1.33 (colored)
Sync with HEAD
Revision 1.35 / (download) - annotate - [select for diffs], Mon Aug 15 09:20:11 2016 UTC (6 years, 9 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
localcount-20160914,
bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.34: +3 -2
lines
Diff to previous 1.34 (colored)
Uninitialized var, found by brainy; not tested, but obvious enough
Revision 1.33.6.1 / (download) - annotate - [select for diffs], Sun May 29 08:44:20 2016 UTC (7 years ago) by skrll
Branch: nick-nhusb
Changes since 1.33: +45 -78
lines
Diff to previous 1.33 (colored)
Sync with HEAD
Revision 1.34 / (download) - annotate - [select for diffs], Fri May 20 13:54:34 2016 UTC (7 years ago) by chs
Branch: MAIN
CVS Tags: pgoyette-localcount-base,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529
Branch point for: pgoyette-localcount
Changes since 1.33: +45 -78
lines
Diff to previous 1.33 (colored)
simplify and fix futex requeuing: don't wake up all the threads being requeued to have them move themselves from one list to another (thus defeating the purpose), just change the lists directly in futex_wake().
Revision 1.28.10.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:32 2014 UTC (8 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.28.10.1: +4 -4
lines
Diff to previous 1.28.10.1 (colored) to branchpoint 1.28 (colored)
Rebase to HEAD as of a few days ago.
Revision 1.27.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:16 2014 UTC (9 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.27.2.1: +79 -54
lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)
sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.30.4.2 / (download) - annotate - [select for diffs], Sun May 18 17:45:32 2014 UTC (9 years ago) by rmind
Branch: rmind-smpnet
Changes since 1.30.4.1: +3 -5
lines
Diff to previous 1.30.4.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)
sync with head
Revision 1.33 / (download) - annotate - [select for diffs], Tue Feb 11 16:00:13 2014 UTC (9 years, 3 months ago) by maxv
Branch: MAIN
CVS Tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Branch point for: nick-nhusb
Changes since 1.32: +3 -3
lines
Diff to previous 1.32 (colored)
Fix uninitialized variable. Harmless: it does not change the behavior at all. ok rmind@ christos@
Revision 1.32 / (download) - annotate - [select for diffs], Thu Oct 17 21:08:16 2013 UTC (9 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.31: +2 -4
lines
Diff to previous 1.31 (colored)
remove unused variable
Revision 1.30.4.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:24 2013 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.30: +5 -3
lines
Diff to previous 1.30 (colored)
sync with head
Revision 1.30.6.1 / (download) - annotate - [select for diffs], Tue Jul 23 21:07:35 2013 UTC (9 years, 10 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.30: +5 -3
lines
Diff to previous 1.30 (colored) next main 1.31 (colored)
sync with HEAD
Revision 1.31 / (download) - annotate - [select for diffs], Thu Jul 18 17:31:02 2013 UTC (9 years, 10 months ago) by njoly
Branch: MAIN
CVS Tags: riastradh-drm2-base2,
riastradh-drm2-base1
Changes since 1.30: +5 -3
lines
Diff to previous 1.30 (colored)
Do not make FUTEX_WAIT wait indefinitely for an invalid timeout (tv_nsec = -1).
Revision 1.28.10.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:16 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.28: +76 -51
lines
Diff to previous 1.28 (colored)
resync from head
Revision 1.30 / (download) - annotate - [select for diffs], Wed Apr 17 14:39:40 2013 UTC (10 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base,
khorben-n900
Branch point for: rmind-smpnet,
riastradh-drm2
Changes since 1.29: +3 -3
lines
Diff to previous 1.29 (colored)
handle timeouts like before.
Revision 1.29 / (download) - annotate - [select for diffs], Tue Apr 16 23:03:05 2013 UTC (10 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.28: +76 -51
lines
Diff to previous 1.28 (colored)
Add some more futex gunk and explain why it does not work (yet). Now skype aborts with a futex timeout, instead of a stack smash leading to a SEGV.
Revision 1.27.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:17 2012 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.27: +2 -4
lines
Diff to previous 1.27 (colored)
sync with head
Revision 1.28 / (download) - annotate - [select for diffs], Fri Nov 18 04:07:44 2011 UTC (11 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys
Changes since 1.27: +2 -4
lines
Diff to previous 1.27 (colored)
- add sigtimedwait support. - merge the siginfo population code.
Revision 1.27 / (download) - annotate - [select for diffs], Wed Sep 14 12:28:08 2011 UTC (11 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.26: +12 -11
lines
Diff to previous 1.26 (colored)
Can't use RUN_ONCE here to initialize the futex_lock, otherwise we cannot unload the module.
Revision 1.24.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:47 2011 UTC (12 years, 2 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.24.4.1: +291 -117
lines
Diff to previous 1.24.4.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)
sync with head
Revision 1.24.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:45:48 2010 UTC (12 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.24: +291 -116
lines
Diff to previous 1.24 (colored) next main 1.25 (colored)
Sync with HEAD.
Revision 1.12.2.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:08 2010 UTC (12 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.12.2.2: +291 -116
lines
Diff to previous 1.12.2.2 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)
sync with head.
Revision 1.26 / (download) - annotate - [select for diffs], Wed Jul 7 01:30:35 2010 UTC (12 years, 10 months ago) by chs
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.25: +291 -117
lines
Diff to previous 1.25 (colored)
many changes for COMPAT_LINUX: - update the linux syscall table for each platform. - support new-style (NPTL) linux pthreads on all platforms. clone() with CLONE_THREAD uses 1 process with many LWPs instead of separate processes. - move the contents of sys__lwp_setprivate() into a new lwp_setprivate() and use that everywhere. - update linux_release[] and linux32_release[] to "2.6.18". - adjust placement of emul fork/exec/exit hooks as needed and adjust other emul code to match. - convert all struct emul definitions to use named initializers. - change the pid allocator to allow multiple pids to refer to the same proc. - remove a few fields from struct proc that are no longer needed. - disable the non-functional "vdso" code in linux32/amd64, glibc works fine without it. - fix a race in the futex code where we could miss a wakeup after a requeue operation. - redo futex locking to be a little more efficient.
Revision 1.24.4.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:31 2010 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.24: +5 -4
lines
Diff to previous 1.24 (colored)
sync with head
Revision 1.25 / (download) - annotate - [select for diffs], Thu Jul 1 02:38:28 2010 UTC (12 years, 11 months ago) by rmind
Branch: MAIN
Changes since 1.24: +5 -4
lines
Diff to previous 1.24 (colored)
Remove pfind() and pgfind(), fix locking in various broken uses of these. Rename real routines to proc_find() and pgrp_find(), remove PFIND_* flags and have consistent behaviour. Provide proc_find_raw() for special cases. Fix memory leak in sysctl_proc_corename(). COMPAT_LINUX: rework ptrace() locking, minimise differences between different versions per-arch. Note: while this change adds some formal cosmetics for COMPAT_DARWIN and COMPAT_IRIX - locking there is utterly broken (for ages). Fixes PR/43176.
Revision 1.22.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:57 2009 UTC (14 years ago) by jym
Branch: jym-xensuspend
Changes since 1.22: +55 -48
lines
Diff to previous 1.22 (colored) next main 1.23 (colored)
Sync with HEAD. Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.12.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:22 2009 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.12.2.1: +403 -79
lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored)
sync with head.
Revision 1.18.2.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:07 2009 UTC (14 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.18.2.2: +18 -16
lines
Diff to previous 1.18.2.2 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)
Sync with HEAD.
Revision 1.18.4.2 / (download) - annotate - [select for diffs], Mon Mar 16 01:20:37 2009 UTC (14 years, 2 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b
Changes since 1.18.4.1: +18 -16
lines
Diff to previous 1.18.4.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)
Pull up following revision(s) (requested by adrianp in ticket #582): sys/compat/linux/common/linux_futex.c: revision 1.24 via patch fix robust_list pointer mess!
Revision 1.24 / (download) - annotate - [select for diffs], Sat Mar 14 20:18:27 2009 UTC (14 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
uebayasi-xip-base1,
uebayasi-xip-base,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
matt-premerge-20091211,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base
Branch point for: uebayasi-xip,
rmind-uvmplock
Changes since 1.23: +18 -16
lines
Diff to previous 1.23 (colored)
fix robust_list pointer mess!
Revision 1.18.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:30:07 2009 UTC (14 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.18.2.1: +39 -34
lines
Diff to previous 1.18.2.1 (colored) to branchpoint 1.18 (colored)
Sync with HEAD.
Revision 1.18.4.1 / (download) - annotate - [select for diffs], Thu Feb 26 20:40:52 2009 UTC (14 years, 3 months ago) by snj
Branch: netbsd-5
Changes since 1.18: +39 -34
lines
Diff to previous 1.18 (colored)
Pull up following revision(s) (requested by rmind in ticket #493): sys/compat/linux/arch/amd64/files.linux_amd64: revision 1.4 sys/compat/linux/arch/amd64/linux_support.S: file removal sys/compat/linux/common/linux_futex.c: revision 1.23 sys/compat/linux/arch/i386/linux_support.S: file removal sys/compat/linux/arch/i386/files.linux_i386: revision 1.10 Switch Linux futex emulation to native ucas_int(), remove unecessary futex-specific assembler routines. Fixes PR/40490. Reviewed by <ad>.
Revision 1.23 / (download) - annotate - [select for diffs], Mon Feb 23 20:28:58 2009 UTC (14 years, 3 months ago) by rmind
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.22: +39 -34
lines
Diff to previous 1.22 (colored)
Switch Linux futex emulation to native ucas_int(), remove unecessary futex-specific assembler routines. Fixes PR/40490. Reviewed by <ad>.
Revision 1.18.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:31 2009 UTC (14 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.18: +17 -14
lines
Diff to previous 1.18 (colored)
Sync with HEAD.
Revision 1.10.6.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:44 2009 UTC (14 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.10.6.3: +391 -75
lines
Diff to previous 1.10.6.3 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)
Sync with HEAD.
Revision 1.22 / (download) - annotate - [select for diffs], Thu Jan 8 12:46:23 2009 UTC (14 years, 4 months ago) by njoly
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.21: +3 -3
lines
Diff to previous 1.21 (colored)
Restore expected FUTEX_WAIT behaviour with NULL timeout argument, which was broken in my recent timespec cleanup/fix.
Revision 1.16.2.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:56 2008 UTC (14 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.16: +393 -77
lines
Diff to previous 1.16 (colored) next main 1.17 (colored)
Update haad-dm branch to haad-dm-base2.
Revision 1.21 / (download) - annotate - [select for diffs], Sun Nov 23 00:15:13 2008 UTC (14 years, 6 months ago) by mrg
Branch: MAIN
CVS Tags: haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Changes since 1.20: +3 -3
lines
Diff to previous 1.20 (colored)
initialise a variable to avoid a GCC warning.
Revision 1.20 / (download) - annotate - [select for diffs], Wed Nov 19 13:09:19 2008 UTC (14 years, 6 months ago) by njoly
Branch: MAIN
Changes since 1.19: +15 -12
lines
Diff to previous 1.19 (colored)
futex(2) timeout argument cleanup/fix. - Use `struct linux_timespec', converted to native structure. - Ensure that provided values are correct. - Replace timeval+tvtohz by tstohz.
Revision 1.19 / (download) - annotate - [select for diffs], Tue Nov 18 15:25:13 2008 UTC (14 years, 6 months ago) by njoly
Branch: MAIN
Changes since 1.18: +3 -3
lines
Diff to previous 1.18 (colored)
noisy printf.
Revision 1.18 / (download) - annotate - [select for diffs], Sun Oct 26 19:13:16 2008 UTC (14 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: netbsd-5-base,
netbsd-5-0-RC2,
netbsd-5-0-RC1
Branch point for: nick-hppapmap,
netbsd-5
Changes since 1.17: +4 -3
lines
Diff to previous 1.17 (colored)
linux_sys_get_robust_list: copyout the entire struct, not the size of the pointer to it.
Revision 1.17 / (download) - annotate - [select for diffs], Sun Oct 26 16:38:22 2008 UTC (14 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.16: +387 -75
lines
Diff to previous 1.16 (colored)
futex support fixes from FreeBSD via cube+pengo.
Revision 1.10.6.3 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:03 2008 UTC (14 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.10.6.2: +21 -21
lines
Diff to previous 1.10.6.2 (colored) to branchpoint 1.10 (colored)
Sync with HEAD.
Revision 1.14.2.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:19 2008 UTC (14 years, 11 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.14: +23 -23
lines
Diff to previous 1.14 (colored) next main 1.15 (colored)
Sync with head.
Revision 1.13.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:54 2008 UTC (14 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.13: +24 -23
lines
Diff to previous 1.13 (colored) next main 1.14 (colored)
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.16 / (download) - annotate - [select for diffs], Fri Jun 20 11:38:26 2008 UTC (14 years, 11 months ago) by njoly
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
matt-mips64-base2,
haad-dm-base1
Branch point for: haad-dm
Changes since 1.15: +4 -4
lines
Diff to previous 1.15 (colored)
Do not return 0 for unsupported/unknown futex operations, but ENOSYS instead. From Roman Divacky in private email.
Revision 1.15 / (download) - annotate - [select for diffs], Fri Jun 20 11:31:40 2008 UTC (14 years, 11 months ago) by njoly
Branch: MAIN
Changes since 1.14: +21 -21
lines
Diff to previous 1.14 (colored)
Fix futex locking. Move all locking to linux_sys_futex function, and KASSERT that futex_{get,put,sleep,wake} are now called with lock held.
Revision 1.10.8.2 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:24 2008 UTC (14 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.10.8.1: +3 -2
lines
Diff to previous 1.10.8.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)
sync with head.
Revision 1.10.6.2 / (download) - annotate - [select for diffs], Thu Jun 5 19:14:35 2008 UTC (14 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.10.6.1: +1 -0
lines
Diff to previous 1.10.6.1 (colored) to branchpoint 1.10 (colored)
Sync with HEAD. Also fix build.
Revision 1.14 / (download) - annotate - [select for diffs], Thu Jun 5 10:58:16 2008 UTC (14 years, 11 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-pf42-base4
Branch point for: simonb-wapbl
Changes since 1.13: +3 -2
lines
Diff to previous 1.13 (colored)
Add missing cv_destroy in futex_sleep.
Revision 1.10.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:02 2008 UTC (14 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.10: +36 -19
lines
Diff to previous 1.10 (colored)
Sync with HEAD.
Revision 1.10.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:19 2008 UTC (15 years ago) by yamt
Branch: yamt-pf42
Changes since 1.10: +36 -19
lines
Diff to previous 1.10 (colored)
sync with head.
Revision 1.12.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:42 2008 UTC (15 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.12: +5 -4
lines
Diff to previous 1.12 (colored)
sync with head.
Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 30 14:07:13 2008 UTC (15 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.12: +5 -4
lines
Diff to previous 1.12 (colored)
Make various bits of debug code compile again.
Revision 1.12 / (download) - annotate - [select for diffs], Thu Apr 24 15:35:27 2008 UTC (15 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.11: +4 -4
lines
Diff to previous 1.11 (colored)
Network protocol interrupts can now block on locks, so merge the globals proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock). Implications: - Inspecting process state requires thread context, so signals can no longer be sent from a hardware interrupt handler. Signal activity must be deferred to a soft interrupt or kthread. - As the proc state locking is simplified, it's now safe to take exit() and wait() out from under kernel_lock. - The system spends less time at IPL_SCHED, and there is less lock activity.
Revision 1.11 / (download) - annotate - [select for diffs], Wed Apr 23 13:02:32 2008 UTC (15 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.10: +33 -17
lines
Diff to previous 1.10 (colored)
Fix locking.
Revision 1.5.18.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:41:23 2008 UTC (15 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.18.5: +5 -5
lines
Diff to previous 1.5.18.5 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)
sync with head
Revision 1.7.30.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:51:09 2008 UTC (15 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.7.30.1: +5 -5
lines
Diff to previous 1.7.30.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)
sync with HEAD
Revision 1.9.8.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:52:33 2008 UTC (15 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.9: +5 -5
lines
Diff to previous 1.9 (colored) next main 1.10 (colored)
Sync with HEAD
Revision 1.9.4.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:49:16 2007 UTC (15 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.9: +5 -5
lines
Diff to previous 1.9 (colored) next main 1.10 (colored)
Sync with head.
Revision 1.10 / (download) - annotate - [select for diffs], Thu Dec 20 23:02:54 2007 UTC (15 years, 5 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
vmlocking2-base3,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1
Branch point for: yamt-pf42,
mjf-devfs2
Changes since 1.9: +5 -5
lines
Diff to previous 1.9 (colored)
Convert all the system call entry points from: int foo(struct lwp *l, void *v, register_t *retval) to: int foo(struct lwp *l, const struct foo_args *uap, register_t *retval) Fixup compat code to not write into 'uap' and (in some cases) to actually pass a correctly formatted 'uap' structure with the right name to the next routine. A few 'compat' routines that just call standard ones have been deleted. All the 'compat' code compiles (along with the kernels required to test build it). 98% done by automated scripts.
Revision 1.5.18.5 / (download) - annotate - [select for diffs], Thu Nov 15 11:43:50 2007 UTC (15 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.18.4: +58 -97
lines
Diff to previous 1.5.18.4 (colored) to branchpoint 1.5 (colored)
sync with head.
Revision 1.7.34.2 / (download) - annotate - [select for diffs], Tue Nov 13 16:00:36 2007 UTC (15 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.7.34.1: +56 -95
lines
Diff to previous 1.7.34.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)
Sync with HEAD
Revision 1.7.30.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:24:57 2007 UTC (15 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.7: +64 -98
lines
Diff to previous 1.7 (colored)
sync with HEAD
Revision 1.7.28.2 / (download) - annotate - [select for diffs], Sun Nov 4 21:03:18 2007 UTC (15 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.7.28.1: +58 -97
lines
Diff to previous 1.7.28.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)
Sync with HEAD.
Revision 1.9 / (download) - annotate - [select for diffs], Sun Nov 4 11:10:34 2007 UTC (15 years, 6 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
mjf-devfs,
jmcneill-pm-base,
jmcneill-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: vmlocking2,
bouyer-xeni386
Changes since 1.8: +58 -97
lines
Diff to previous 1.8 (colored)
- Replace lockmgr with mutex; - Use condvars instead of tsleep/wakeup; - Replace malloc with kmem; - Use itimespecfix/tstohz; Reviewed by <ad>.
Revision 1.5.18.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:29:37 2007 UTC (15 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.18.3: +8 -3
lines
Diff to previous 1.5.18.3 (colored) to branchpoint 1.5 (colored)
sync with head.
Revision 1.7.28.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:43:57 2007 UTC (15 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.7: +8 -3
lines
Diff to previous 1.7 (colored)
Sync with HEAD. Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
Revision 1.7.34.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:36:57 2007 UTC (15 years, 7 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.7: +8 -3
lines
Diff to previous 1.7 (colored)
Sync with HEAD.
Revision 1.8 / (download) - annotate - [select for diffs], Fri Oct 19 18:52:11 2007 UTC (15 years, 7 months ago) by njoly
Branch: MAIN
Changes since 1.7: +8 -3
lines
Diff to previous 1.7 (colored)
Add compat_linux and exec_linux_elf lkm support for amd64: - Add needed COMPAT_OSSAUDIO to GENERIC. - Add missing includes needed by linux_syscallargs.h. - Add lkm building.
Revision 1.5.18.3 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:38 2006 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.18.2: +19 -3
lines
Diff to previous 1.5.18.2 (colored) to branchpoint 1.5 (colored)
sync with head.
Revision 1.5.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:45:52 2006 UTC (16 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.5: +19 -3
lines
Diff to previous 1.5 (colored) next main 1.6 (colored)
sync with head
Revision 1.5.8.1 / (download) - annotate - [select for diffs], Fri Aug 11 15:43:29 2006 UTC (16 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.5: +19 -3
lines
Diff to previous 1.5 (colored) next main 1.6 (colored)
sync with head
Revision 1.7 / (download) - annotate - [select for diffs], Mon Jul 24 19:01:49 2006 UTC (16 years, 10 months ago) by manu
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-idlelwp-base8,
yamt-idlelwp,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
vmlocking-base,
vmlocking,
thorpej-atomic-base,
thorpej-atomic,
rpaulo-netinet-merge-pcb-base,
reinoud-bufcleanup,
post-newlock2-merge,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
newlock2-nbase,
newlock2-base,
newlock2,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-nb4-arm-base,
matt-nb4-arm,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup,
ad-audiomp-base,
ad-audiomp,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: matt-armv6,
jmcneill-pm,
bouyer-xenamd64
Changes since 1.6: +3 -3
lines
Diff to previous 1.6 (colored)
typo
Revision 1.5.16.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:13 2006 UTC (16 years, 10 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.5: +18 -2
lines
Diff to previous 1.5 (colored) next main 1.6 (colored)
Merge from HEAD.
Revision 1.6 / (download) - annotate - [select for diffs], Sun Jul 9 18:51:28 2006 UTC (16 years, 10 months ago) by manu
Branch: MAIN
Changes since 1.5: +18 -2
lines
Diff to previous 1.5 (colored)
If the user process requests a non null timeout, make sure we do not turn it into an infinite timeout because of a conversion
Revision 1.5.18.2 / (download) - annotate - [select for diffs], Wed Jun 21 14:59:12 2006 UTC (16 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.18.1: +314 -0
lines
Diff to previous 1.5.18.1 (colored) to branchpoint 1.5 (colored)
sync with head.
Revision 1.4.2.3 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:46 2005 UTC (17 years, 5 months ago) by christos
Branch: ktrace-lwp
Changes since 1.4.2.2: +6 -3
lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)
Sync with head.
Revision 1.4.4.1 / (download) - annotate - [select for diffs], Tue Nov 29 21:23:05 2005 UTC (17 years, 6 months ago) by yamt
Branch: yamt-readahead
Changes since 1.4: +6 -3
lines
Diff to previous 1.4 (colored) next main 1.5 (colored)
sync with head.
Revision 1.5.18.1, Wed Nov 23 16:14:57 2005 UTC (17 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5: +0 -314
lines
FILE REMOVED
file linux_futex.c was added on branch yamt-lazymbuf on 2006-06-21 14:59:12 +0000
Revision 1.5 / (download) - annotate - [select for diffs], Wed Nov 23 16:14:57 2005 UTC (17 years, 6 months ago) by manu
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-readahead-base3,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
peter-altq-base,
peter-altq,
ktrace-lwp-base,
gdamore-uart-base,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi
Branch point for: yamt-pdpolicy,
yamt-lazymbuf,
rpaulo-netinet-merge-pcb,
gdamore-uart
Changes since 1.4: +6 -3
lines
Diff to previous 1.4 (colored)
- Add Linux tkill and tgkill (partial emulation). - Fix getrlimit on amd64
Revision 1.4.2.2 / (download) - annotate - [select for diffs], Thu Nov 10 14:01:07 2005 UTC (17 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.1: +311 -0
lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored)
Sync with HEAD. Here we go again...
Revision 1.4.2.1, Wed Nov 9 14:52:18 2005 UTC (17 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4: +0 -311
lines
FILE REMOVED
file linux_futex.c was added on branch ktrace-lwp on 2005-11-10 14:01:07 +0000
Revision 1.4 / (download) - annotate - [select for diffs], Wed Nov 9 14:52:18 2005 UTC (17 years, 6 months ago) by manu
Branch: MAIN
CVS Tags: yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base2,
yamt-readahead-base
Branch point for: yamt-readahead,
ktrace-lwp
Changes since 1.3: +10 -8
lines
Diff to previous 1.3 (colored)
Prevent integer overflow in timout calculation. changed DEBUG_LINUX to DEBUG_LINUX_FUTEX so that we have less debug messages on the console
Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 8 21:28:49 2005 UTC (17 years, 6 months ago) by manu
Branch: MAIN
Changes since 1.2: +7 -3
lines
Diff to previous 1.2 (colored)
Correctly computes futex timeout.
Revision 1.2 / (download) - annotate - [select for diffs], Sat Nov 5 08:07:44 2005 UTC (17 years, 6 months ago) by manu
Branch: MAIN
Changes since 1.1: +169 -11
lines
Diff to previous 1.1 (colored)
Implement more of Linux futex(2)
Revision 1.1 / (download) - annotate - [select for diffs], Fri Nov 4 16:54:11 2005 UTC (17 years, 6 months ago) by manu
Branch: MAIN
Implement Linux futex ang gettid