From owner-svn-src-user@freebsd.org Tue Jan 2 23:52:28 2018 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A44EE811B8 for ; Tue, 2 Jan 2018 23:52:28 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D5EF479888; Tue, 2 Jan 2018 23:52:27 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w02NqQK3034361; Tue, 2 Jan 2018 23:52:26 GMT (envelope-from jeff@FreeBSD.org) Received: (from jeff@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w02NqQgA034360; Tue, 2 Jan 2018 23:52:26 GMT (envelope-from jeff@FreeBSD.org) Message-Id: <201801022352.w02NqQgA034360@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jeff set sender to jeff@FreeBSD.org using -f From: Jeff Roberson Date: Tue, 2 Jan 2018 23:52:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r327504 - user/jeff/numa/sys/kern X-SVN-Group: user X-SVN-Commit-Author: jeff X-SVN-Commit-Paths: user/jeff/numa/sys/kern X-SVN-Commit-Revision: 327504 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2018 23:52:28 -0000 Author: jeff Date: Tue Jan 2 23:52:26 2018 New Revision: 327504 URL: https://svnweb.freebsd.org/changeset/base/327504 Log: Fix compile with DIAGNOSTIC Modified: user/jeff/numa/sys/kern/kern_malloc.c Modified: user/jeff/numa/sys/kern/kern_malloc.c ============================================================================== --- user/jeff/numa/sys/kern/kern_malloc.c Tue Jan 2 21:31:54 2018 (r327503) +++ user/jeff/numa/sys/kern/kern_malloc.c Tue Jan 2 23:52:26 2018 (r327504) @@ -525,7 +525,7 @@ malloc(unsigned long size, struct malloc_type *mtp, in struct malloc_type_internal *mtip; caddr_t va; uma_zone_t zone; -#if defined(DIAGNOSTIC) || defined(DEBUG_REDZONE) +#if defined(DEBUG_REDZONE) unsigned long osize = size; #endif @@ -575,7 +575,7 @@ malloc_domain(unsigned long size, struct malloc_type * struct malloc_type_internal *mtip; caddr_t va; uma_zone_t zone; -#if defined(DIAGNOSTIC) || defined(DEBUG_REDZONE) +#if defined(DEBUG_REDZONE) unsigned long osize = size; #endif From owner-svn-src-user@freebsd.org Wed Jan 3 01:00:21 2018 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B40FBE87A05 for ; Wed, 3 Jan 2018 01:00:21 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7E7E37BFAA; Wed, 3 Jan 2018 01:00:21 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0310KqR059320; Wed, 3 Jan 2018 01:00:20 GMT (envelope-from jeff@FreeBSD.org) Received: (from jeff@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0310Klv059319; Wed, 3 Jan 2018 01:00:20 GMT (envelope-from jeff@FreeBSD.org) Message-Id: <201801030100.w0310Klv059319@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jeff set sender to jeff@FreeBSD.org using -f From: Jeff Roberson Date: Wed, 3 Jan 2018 01:00:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r327506 - user/jeff/numa/sys/vm X-SVN-Group: user X-SVN-Commit-Author: jeff X-SVN-Commit-Paths: user/jeff/numa/sys/vm X-SVN-Commit-Revision: 327506 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2018 01:00:21 -0000 Author: jeff Date: Wed Jan 3 01:00:20 2018 New Revision: 327506 URL: https://svnweb.freebsd.org/changeset/base/327506 Log: The result of DOMAINSET_FFS starts at 1 rather than 0 Modified: user/jeff/numa/sys/vm/vm_phys.c Modified: user/jeff/numa/sys/vm/vm_phys.c ============================================================================== --- user/jeff/numa/sys/vm/vm_phys.c Wed Jan 3 00:56:30 2018 (r327505) +++ user/jeff/numa/sys/vm/vm_phys.c Wed Jan 3 01:00:20 2018 (r327506) @@ -216,7 +216,7 @@ vm_phys_domain_match(int prefer, vm_paddr_t low, vm_pa return (prefer); if (DOMAINSET_EMPTY(&mask)) panic("vm_phys_domain_match: Impossible constraint"); - return (DOMAINSET_FFS(&mask)); + return (DOMAINSET_FFS(&mask) - 1); } /* From owner-svn-src-user@freebsd.org Wed Jan 3 01:00:49 2018 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17497E87A67 for ; Wed, 3 Jan 2018 01:00:49 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C17187C0C6; Wed, 3 Jan 2018 01:00:48 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0310lPs059382; Wed, 3 Jan 2018 01:00:47 GMT (envelope-from jeff@FreeBSD.org) Received: (from jeff@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0310lxs059378; Wed, 3 Jan 2018 01:00:47 GMT (envelope-from jeff@FreeBSD.org) Message-Id: <201801030100.w0310lxs059378@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jeff set sender to jeff@FreeBSD.org using -f From: Jeff Roberson Date: Wed, 3 Jan 2018 01:00:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r327507 - in user/jeff/numa: sys/kern sys/sys sys/vm usr.bin/cpuset X-SVN-Group: user X-SVN-Commit-Author: jeff X-SVN-Commit-Paths: in user/jeff/numa: sys/kern sys/sys sys/vm usr.bin/cpuset X-SVN-Commit-Revision: 327507 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2018 01:00:49 -0000 Author: jeff Date: Wed Jan 3 01:00:47 2018 New Revision: 327507 URL: https://svnweb.freebsd.org/changeset/base/327507 Log: Implement a preferred domain policy Modified: user/jeff/numa/sys/kern/kern_cpuset.c user/jeff/numa/sys/sys/domainset.h user/jeff/numa/sys/vm/vm_domainset.c user/jeff/numa/usr.bin/cpuset/cpuset.c Modified: user/jeff/numa/sys/kern/kern_cpuset.c ============================================================================== --- user/jeff/numa/sys/kern/kern_cpuset.c Wed Jan 3 01:00:20 2018 (r327506) +++ user/jeff/numa/sys/kern/kern_cpuset.c Wed Jan 3 01:00:47 2018 (r327507) @@ -127,6 +127,8 @@ SYSCTL_INT(_kern_sched, OID_AUTO, cpusetsize, CTLFLAG_ cpuset_t *cpuset_root; cpuset_t cpuset_domain[MAXMEMDOM]; +static int domainset_valid(const struct domainset *, const struct domainset *); + /* * Find the first non-anonymous set starting from 'set'. */ @@ -289,7 +291,7 @@ _cpuset_create(struct cpuset *set, struct cpuset *pare if (!CPU_OVERLAP(&parent->cs_mask, mask)) return (EDEADLK); /* The domain must be prepared ahead of time. */ - if (!DOMAINSET_SUBSET(&parent->cs_domain->ds_mask, &domain->ds_mask)) + if (!domainset_valid(parent->cs_domain, domain)) return (EDEADLK); CPU_COPY(mask, &set->cs_mask); LIST_INIT(&set->cs_children); @@ -402,6 +404,7 @@ domainset_copy(const struct domainset *from, struct do DOMAINSET_COPY(&from->ds_mask, &to->ds_mask); to->ds_policy = from->ds_policy; + to->ds_prefer = from->ds_prefer; } /* Return 1 if mask and policy are equal, otherwise 0. */ @@ -410,9 +413,19 @@ domainset_equal(const struct domainset *one, const str { return (DOMAINSET_CMP(&one->ds_mask, &two->ds_mask) == 0 && - one->ds_policy == two->ds_policy); + one->ds_policy == two->ds_policy && + one->ds_prefer == two->ds_prefer); } +/* Return 1 if child is a valid subset of parent. */ +static int +domainset_valid(const struct domainset *parent, const struct domainset *child) +{ + if (child->ds_policy != DOMAINSET_POLICY_PREFER) + return (DOMAINSET_SUBSET(&parent->ds_mask, &child->ds_mask)); + return (DOMAINSET_ISSET(child->ds_prefer, &parent->ds_mask)); +} + /* * Lookup or create a domainset. The key is provided in ds_mask and * ds_policy. If the domainset does not yet exist the storage in @@ -705,12 +718,17 @@ cpuset_modify_domain(struct cpuset *set, struct domain /* * Verify that we have access to this set of domains. */ - if (root && - !DOMAINSET_SUBSET(&dset->ds_mask, &domain->ds_mask)) { + if (root && !domainset_valid(dset, domain)) { error = EINVAL; goto out; } /* + * If applying prefer we keep the current set as the fallback. + */ + if (domain->ds_policy == DOMAINSET_POLICY_PREFER) + DOMAINSET_COPY(&set->cs_domain->ds_mask, + &domain->ds_mask); + /* * Determine whether we can apply this set of domains and * how many new domain structures it will require. */ @@ -842,8 +860,7 @@ cpuset_testshadow(struct cpuset *set, const cpuset_t * * parent or invalid domains have been specified. */ dset = parent->cs_domain; - if (domain != NULL && - !DOMAINSET_SUBSET(&dset->ds_mask, &domain->ds_mask)) + if (domain != NULL && !domainset_valid(dset, domain)) return (EINVAL); return (0); @@ -1315,6 +1332,7 @@ domainset_zero(void) for (i = 0; i < vm_ndomains; i++) DOMAINSET_SET(i, &dset->ds_mask); dset->ds_policy = DOMAINSET_POLICY_ROUNDROBIN; + dset->ds_prefer = -1; curthread->td_domain.dr_policy = _domainset_create(dset, NULL); kernel_object->domain.dr_policy = curthread->td_domain.dr_policy; } @@ -1841,13 +1859,13 @@ int kern_cpuset_getdomain(struct thread *td, cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *maskp, int *policyp) { + struct domainset outset; struct thread *ttd; struct cpuset *nset; struct cpuset *set; struct domainset *dset; struct proc *p; domainset_t *mask; - int policy; int error; size_t size; @@ -1863,9 +1881,9 @@ kern_cpuset_getdomain(struct thread *td, cpulevel_t le if (id != -1) return (ECAPMODE); } - policy = 0; size = domainsetsize; mask = malloc(size, M_TEMP, M_WAITOK | M_ZERO); + bzero(&outset, sizeof(outset)); error = cpuset_which(which, id, &p, &ttd, &set); if (error) goto out; @@ -1894,9 +1912,7 @@ kern_cpuset_getdomain(struct thread *td, cpulevel_t le else nset = cpuset_refbase(set); /* Fetch once for a coherent result. */ - dset = nset->cs_domain; - DOMAINSET_COPY(&dset->ds_mask, mask); - policy = dset->ds_policy; + domainset_copy(nset->cs_domain, &outset); cpuset_rel(nset); break; case CPU_LEVEL_WHICH: @@ -1904,9 +1920,7 @@ kern_cpuset_getdomain(struct thread *td, cpulevel_t le case CPU_WHICH_TID: thread_lock(ttd); /* Fetch once for a coherent result. */ - dset = ttd->td_cpuset->cs_domain; - DOMAINSET_COPY(&dset->ds_mask, mask); - policy = dset->ds_policy; + domainset_copy(ttd->td_cpuset->cs_domain, &outset); thread_unlock(ttd); break; case CPU_WHICH_PID: @@ -1914,17 +1928,16 @@ kern_cpuset_getdomain(struct thread *td, cpulevel_t le thread_lock(ttd); dset = ttd->td_cpuset->cs_domain; /* Show all domains in the proc. */ - DOMAINSET_OR(mask, &dset->ds_mask); + DOMAINSET_OR(&outset.ds_mask, &dset->ds_mask); /* Last policy wins. */ - policy = dset->ds_policy; + outset.ds_policy = dset->ds_policy; + outset.ds_prefer = dset->ds_prefer; thread_unlock(ttd); } break; case CPU_WHICH_CPUSET: case CPU_WHICH_JAIL: - dset = set->cs_domain; - policy = dset->ds_policy; - DOMAINSET_OR(mask, &dset->ds_mask); + domainset_copy(set->cs_domain, &outset); break; case CPU_WHICH_IRQ: case CPU_WHICH_INTRHANDLER: @@ -1942,10 +1955,19 @@ kern_cpuset_getdomain(struct thread *td, cpulevel_t le cpuset_rel(set); if (p) PROC_UNLOCK(p); + /* + * Translate prefer into a set containing only the preferred domain, + * not the entire fallback set. + */ + if (outset.ds_policy == DOMAINSET_POLICY_PREFER) { + DOMAINSET_ZERO(&outset.ds_mask); + DOMAINSET_SET(outset.ds_prefer, &outset.ds_mask); + } + DOMAINSET_COPY(&outset.ds_mask, mask); if (error == 0) error = copyout(mask, maskp, size); if (error == 0) - error = copyout(&policy, policyp, sizeof(*policyp)); + error = copyout(&outset.ds_policy, policyp, sizeof(*policyp)); out: free(mask, M_TEMP); return (error); @@ -2022,6 +2044,16 @@ kern_cpuset_setdomain(struct thread *td, cpulevel_t le policy > DOMAINSET_POLICY_MAX) return (EINVAL); + /* Translate preferred policy into a mask and fallback. */ + if (policy == DOMAINSET_POLICY_PREFER) { + /* Only support a single preferred domain. */ + if (DOMAINSET_COUNT(&domain.ds_mask) != 1) + return (EINVAL); + domain.ds_prefer = DOMAINSET_FFS(&domain.ds_mask) - 1; + /* This will be constrained by domainset_shadow(). */ + DOMAINSET_FILL(&domain.ds_mask); + } + switch (level) { case CPU_LEVEL_ROOT: case CPU_LEVEL_CPUSET: @@ -2130,8 +2162,8 @@ DB_SHOW_COMMAND(cpusets, db_show_cpusets) db_printf(" cpu mask="); ddb_display_cpuset(&set->cs_mask); db_printf("\n"); - db_printf(" domain policy %d mask=", - set->cs_domain->ds_policy); + db_printf(" domain policy %d prefer %d mask=", + set->cs_domain->ds_policy, set->cs_domain->ds_prefer); ddb_display_domainset(&set->cs_domain->ds_mask); db_printf("\n"); if (db_pager_quit) @@ -2144,8 +2176,9 @@ DB_SHOW_COMMAND(domainsets, db_show_domainsets) struct domainset *set; LIST_FOREACH(set, &cpuset_domains, ds_link) { - db_printf("set=%p policy %d cnt %d max %d\n", - set, set->ds_policy, set->ds_cnt, set->ds_max); + db_printf("set=%p policy %d prefer %d cnt %d max %d\n", + set, set->ds_policy, set->ds_prefer, set->ds_cnt, + set->ds_max); db_printf(" mask ="); ddb_display_domainset(&set->ds_mask); db_printf("\n"); Modified: user/jeff/numa/sys/sys/domainset.h ============================================================================== --- user/jeff/numa/sys/sys/domainset.h Wed Jan 3 01:00:20 2018 (r327506) +++ user/jeff/numa/sys/sys/domainset.h Wed Jan 3 01:00:47 2018 (r327507) @@ -72,7 +72,8 @@ #define DOMAINSET_POLICY_INVALID 0 #define DOMAINSET_POLICY_ROUNDROBIN 1 #define DOMAINSET_POLICY_FIRSTTOUCH 2 -#define DOMAINSET_POLICY_MAX DOMAINSET_POLICY_FIRSTTOUCH +#define DOMAINSET_POLICY_PREFER 3 +#define DOMAINSET_POLICY_MAX DOMAINSET_POLICY_PREFER #ifdef _KERNEL #include @@ -81,9 +82,10 @@ LIST_HEAD(domainlist, domainset); struct domainset { LIST_ENTRY(domainset) ds_link; domainset_t ds_mask; /* allowed domains. */ + uint16_t ds_policy; /* Policy type. */ + int16_t ds_prefer; /* Preferred domain or -1. */ uint16_t ds_cnt; /* popcnt from above. */ uint16_t ds_max; /* Maximum domain in set. */ - uint16_t ds_policy; /* Policy type. */ }; void domainset_zero(void); Modified: user/jeff/numa/sys/vm/vm_domainset.c ============================================================================== --- user/jeff/numa/sys/vm/vm_domainset.c Wed Jan 3 01:00:20 2018 (r327506) +++ user/jeff/numa/sys/vm/vm_domainset.c Wed Jan 3 01:00:47 2018 (r327507) @@ -90,6 +90,19 @@ vm_domainset_iter_rr(struct vm_domainset_iter *di, int } static void +vm_domainset_iter_prefer(struct vm_domainset_iter *di, int *domain) +{ + int d; + + d = *di->di_iter; + do { + d = (d + 1) % di->di_domain->ds_max; + } while (!DOMAINSET_ISSET(d, &di->di_domain->ds_mask) || + d == di->di_domain->ds_prefer); + *di->di_iter = *domain = d; +} + +static void vm_domainset_iter_next(struct vm_domainset_iter *di, int *domain) { @@ -103,6 +116,9 @@ vm_domainset_iter_next(struct vm_domainset_iter *di, i case DOMAINSET_POLICY_ROUNDROBIN: vm_domainset_iter_rr(di, domain); break; + case DOMAINSET_POLICY_PREFER: + vm_domainset_iter_prefer(di, domain); + break; default: panic("vm_domainset_iter_first: Unknown policy %d", di->di_domain->ds_policy); @@ -130,6 +146,10 @@ vm_domainset_iter_first(struct vm_domainset_iter *di, case DOMAINSET_POLICY_ROUNDROBIN: di->di_n = di->di_domain->ds_cnt; vm_domainset_iter_rr(di, domain); + break; + case DOMAINSET_POLICY_PREFER: + *domain = di->di_domain->ds_prefer; + di->di_n = di->di_domain->ds_cnt; break; default: panic("vm_domainset_iter_first: Unknown policy %d", Modified: user/jeff/numa/usr.bin/cpuset/cpuset.c ============================================================================== --- user/jeff/numa/usr.bin/cpuset/cpuset.c Wed Jan 3 01:00:20 2018 (r327506) +++ user/jeff/numa/usr.bin/cpuset/cpuset.c Wed Jan 3 01:00:47 2018 (r327507) @@ -78,6 +78,7 @@ static struct numa_policy policies[] = { { "rr", DOMAINSET_POLICY_ROUNDROBIN }, { "first-touch", DOMAINSET_POLICY_FIRSTTOUCH }, { "ft", DOMAINSET_POLICY_FIRSTTOUCH }, + { "prefer", DOMAINSET_POLICY_PREFER }, { NULL, DOMAINSET_POLICY_INVALID } }; @@ -235,7 +236,8 @@ printset(struct bitset *mask, int size) static const char *whichnames[] = { NULL, "tid", "pid", "cpuset", "irq", "jail", "domain" }; static const char *levelnames[] = { NULL, " root", " cpuset", "" }; -static const char *policynames[] = { "invalid", "round-robin", "first-touch" }; +static const char *policynames[] = { "invalid", "round-robin", "first-touch", + "prefer" }; static void printaffinity(void) From owner-svn-src-user@freebsd.org Wed Jan 3 01:19:25 2018 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A202BE8A782 for ; Wed, 3 Jan 2018 01:19:25 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 04E3A7C9DA; Wed, 3 Jan 2018 01:19:24 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w031JOS9067871; Wed, 3 Jan 2018 01:19:24 GMT (envelope-from jeff@FreeBSD.org) Received: (from jeff@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w031JJUY067824; Wed, 3 Jan 2018 01:19:19 GMT (envelope-from jeff@FreeBSD.org) Message-Id: <201801030119.w031JJUY067824@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jeff set sender to jeff@FreeBSD.org using -f From: Jeff Roberson Date: Wed, 3 Jan 2018 01:19:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r327508 - in user/jeff/numa: . bin/pax bin/sh bin/sh/tests/builtins contrib/binutils/bfd contrib/binutils/include contrib/elftoolchain/elfcopy contrib/elftoolchain/readelf contrib/llvm/... X-SVN-Group: user X-SVN-Commit-Author: jeff X-SVN-Commit-Paths: in user/jeff/numa: . bin/pax bin/sh bin/sh/tests/builtins contrib/binutils/bfd contrib/binutils/include contrib/elftoolchain/elfcopy contrib/elftoolchain/readelf contrib/llvm/lib/Target/BPF contrib/ll... X-SVN-Commit-Revision: 327508 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2018 01:19:25 -0000 Author: jeff Date: Wed Jan 3 01:19:18 2018 New Revision: 327508 URL: https://svnweb.freebsd.org/changeset/base/327508 Log: Merge from head Added: user/jeff/numa/.gitattributes - copied unchanged from r327507, head/.gitattributes user/jeff/numa/.gitignore - copied unchanged from r327507, head/.gitignore user/jeff/numa/share/man/man4/aw_gpio.4 - copied unchanged from r327507, head/share/man/man4/aw_gpio.4 user/jeff/numa/share/man/man4/aw_mmc.4 - copied unchanged from r327507, head/share/man/man4/aw_mmc.4 user/jeff/numa/share/man/man4/aw_rtc.4 - copied unchanged from r327507, head/share/man/man4/aw_rtc.4 user/jeff/numa/share/man/man4/aw_sid.4 - copied unchanged from r327507, head/share/man/man4/aw_sid.4 user/jeff/numa/share/man/man4/nda.4 - copied unchanged from r327507, head/share/man/man4/nda.4 user/jeff/numa/sys/arm/allwinner/aw_gpio.c - copied unchanged from r327507, head/sys/arm/allwinner/aw_gpio.c user/jeff/numa/sys/arm/allwinner/aw_mmc.c - copied unchanged from r327507, head/sys/arm/allwinner/aw_mmc.c user/jeff/numa/sys/arm/allwinner/aw_mmc.h - copied unchanged from r327507, head/sys/arm/allwinner/aw_mmc.h user/jeff/numa/sys/dev/ep/elink.c - copied unchanged from r327507, head/sys/dev/ep/elink.c user/jeff/numa/sys/dev/ep/elink.h - copied unchanged from r327507, head/sys/dev/ep/elink.h user/jeff/numa/sys/dev/extres/syscon/ - copied from r327507, head/sys/dev/extres/syscon/ user/jeff/numa/sys/dev/mmc/host/dwmmc_altera.c - copied unchanged from r327507, head/sys/dev/mmc/host/dwmmc_altera.c user/jeff/numa/sys/dev/mmc/host/dwmmc_rockchip.c - copied unchanged from r327507, head/sys/dev/mmc/host/dwmmc_rockchip.c user/jeff/numa/sys/dev/mmc/host/dwmmc_samsung.c - copied unchanged from r327507, head/sys/dev/mmc/host/dwmmc_samsung.c user/jeff/numa/sys/i386/i386/npx.c - copied unchanged from r327507, head/sys/i386/i386/npx.c user/jeff/numa/sys/kern/kern_tslog.c - copied unchanged from r327507, head/sys/kern/kern_tslog.c user/jeff/numa/sys/sys/_stdarg.h - copied unchanged from r327507, head/sys/sys/_stdarg.h user/jeff/numa/sys/sys/atomic_common.h - copied unchanged from r327507, head/sys/sys/atomic_common.h user/jeff/numa/sys/sys/tslog.h - copied unchanged from r327507, head/sys/sys/tslog.h user/jeff/numa/usr.bin/find/tests/ - copied from r327507, head/usr.bin/find/tests/ user/jeff/numa/usr.bin/truss/aarch64-cloudabi32.c - copied unchanged from r327507, head/usr.bin/truss/aarch64-cloudabi32.c user/jeff/numa/usr.bin/truss/amd64-cloudabi32.c - copied unchanged from r327507, head/usr.bin/truss/amd64-cloudabi32.c user/jeff/numa/usr.bin/truss/i386-cloudabi32.c - copied unchanged from r327507, head/usr.bin/truss/i386-cloudabi32.c user/jeff/numa/usr.sbin/bsdinstall/scripts/bootconfig - copied unchanged from r327507, head/usr.sbin/bsdinstall/scripts/bootconfig user/jeff/numa/usr.sbin/devmatch/ - copied from r327507, head/usr.sbin/devmatch/ Deleted: user/jeff/numa/stand/powerpc/ps3/ user/jeff/numa/sys/arm/allwinner/a10_gpio.c user/jeff/numa/sys/arm/allwinner/a10_mmc.c user/jeff/numa/sys/arm/allwinner/a10_mmc.h user/jeff/numa/sys/arm/allwinner/aw_console.c user/jeff/numa/sys/dev/ixgbe/ixgbe_netmap.c user/jeff/numa/sys/dev/ixgbe/ixgbe_netmap.h user/jeff/numa/sys/dev/syscon/ user/jeff/numa/sys/i386/isa/elink.c user/jeff/numa/sys/i386/isa/elink.h user/jeff/numa/sys/i386/isa/npx.c user/jeff/numa/sys/mips/adm5120/ user/jeff/numa/sys/mips/alchemy/ user/jeff/numa/sys/mips/conf/ADM5120 user/jeff/numa/sys/mips/conf/ALCHEMY user/jeff/numa/sys/mips/conf/IDT user/jeff/numa/sys/mips/conf/MT7620 user/jeff/numa/sys/mips/conf/QEMU user/jeff/numa/sys/mips/conf/RT305X user/jeff/numa/sys/mips/conf/RT5350 user/jeff/numa/sys/mips/conf/XLR user/jeff/numa/sys/mips/conf/XLR64 user/jeff/numa/sys/mips/conf/XLRN32 user/jeff/numa/sys/mips/idt/ user/jeff/numa/sys/mips/rmi/ user/jeff/numa/sys/mips/rt305x/ user/jeff/numa/sys/modules/elink/ user/jeff/numa/sys/powerpc/ofw/ofwmagic.S Modified: user/jeff/numa/.arclint user/jeff/numa/COPYRIGHT user/jeff/numa/Makefile.inc1 user/jeff/numa/ObsoleteFiles.inc user/jeff/numa/UPDATING user/jeff/numa/bin/pax/buf_subs.c user/jeff/numa/bin/sh/eval.c user/jeff/numa/bin/sh/jobs.c user/jeff/numa/bin/sh/jobs.h user/jeff/numa/bin/sh/sh.1 user/jeff/numa/bin/sh/tests/builtins/var-assign.0 user/jeff/numa/contrib/binutils/bfd/elflink.c user/jeff/numa/contrib/binutils/include/obstack.h user/jeff/numa/contrib/elftoolchain/elfcopy/binary.c user/jeff/numa/contrib/elftoolchain/readelf/readelf.c user/jeff/numa/contrib/llvm/lib/Target/BPF/BPFISelLowering.cpp user/jeff/numa/contrib/llvm/lib/Target/BPF/BPFInstrInfo.td user/jeff/numa/contrib/llvm/lib/Transforms/Scalar/NewGVN.cpp user/jeff/numa/contrib/llvm/tools/clang/lib/Basic/Version.cpp user/jeff/numa/contrib/llvm/tools/clang/lib/Sema/SemaDecl.cpp user/jeff/numa/contrib/llvm/tools/clang/lib/Sema/SemaDeclCXX.cpp user/jeff/numa/contrib/llvm/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp user/jeff/numa/contrib/llvm/tools/lld/ELF/Relocations.cpp user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ArchHandler.h user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm.cpp user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ArchHandler_x86.cpp user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp user/jeff/numa/etc/devd/hyperv.conf user/jeff/numa/etc/mail/mailer.conf user/jeff/numa/etc/mtree/BSD.root.dist user/jeff/numa/etc/mtree/BSD.tests.dist user/jeff/numa/etc/portsnap.conf user/jeff/numa/etc/rc.d/ldconfig user/jeff/numa/etc/rc.initdiskless user/jeff/numa/etc/rc.subr user/jeff/numa/etc/services user/jeff/numa/include/stdlib.h user/jeff/numa/lib/clang/include/clang/Basic/Version.inc user/jeff/numa/lib/clang/include/lld/Config/Version.inc user/jeff/numa/lib/clang/include/llvm/Support/VCSRevision.h user/jeff/numa/lib/libc/gen/Symbol.map user/jeff/numa/lib/libc/gen/daemon.3 user/jeff/numa/lib/libc/gen/daemon.c user/jeff/numa/lib/libc/gen/isgreater.3 user/jeff/numa/lib/libc/gen/pw_scan.c user/jeff/numa/lib/libc/i386/Makefile.inc user/jeff/numa/lib/libc/include/reentrant.h user/jeff/numa/lib/libc/locale/euc.c user/jeff/numa/lib/libc/locale/xlocale.c user/jeff/numa/lib/libc/mips/SYS.h user/jeff/numa/lib/libc/net/getaddrinfo.c user/jeff/numa/lib/libc/sparc64/fpu/fpu_reg.h user/jeff/numa/lib/libc/stdio/fflush.3 user/jeff/numa/lib/libc/stdio/fopen.3 user/jeff/numa/lib/libc/sys/kqueue.2 user/jeff/numa/lib/libc/sys/sendfile.2 user/jeff/numa/lib/libcam/camlib.h user/jeff/numa/lib/libdevinfo/devinfo.c user/jeff/numa/lib/libedit/map.c user/jeff/numa/lib/libedit/refresh.c user/jeff/numa/lib/libefivar/uefi-dputil.c user/jeff/numa/lib/libopenbsd/imsg_init.3 user/jeff/numa/lib/libsysdecode/errno.c user/jeff/numa/lib/libsysdecode/syscallnames.c user/jeff/numa/lib/libsysdecode/sysdecode.3 user/jeff/numa/lib/libsysdecode/sysdecode.h user/jeff/numa/lib/libufs/type.c user/jeff/numa/lib/libutil/humanize_number.3 user/jeff/numa/lib/libutil/humanize_number.c user/jeff/numa/lib/libutil/pty.c user/jeff/numa/lib/libutil/tests/humanize_number_test.c user/jeff/numa/lib/msun/man/cacos.3 user/jeff/numa/lib/msun/src/catrig.c user/jeff/numa/libexec/dma/dmagent/mailer.conf user/jeff/numa/libexec/rpc.sprayd/rpc.sprayd.8 user/jeff/numa/libexec/rpc.sprayd/sprayd.c user/jeff/numa/release/powerpc/mkisoimages.sh user/jeff/numa/sbin/ccdconfig/ccdconfig.8 user/jeff/numa/sbin/ccdconfig/ccdconfig.c user/jeff/numa/sbin/ccdconfig/pathnames.h user/jeff/numa/sbin/devfs/rule.c user/jeff/numa/sbin/dump/dump.h user/jeff/numa/sbin/dump/main.c user/jeff/numa/sbin/dump/tape.c user/jeff/numa/sbin/dump/traverse.c user/jeff/numa/sbin/fsdb/fsdb.c user/jeff/numa/sbin/ifconfig/ifvxlan.c user/jeff/numa/sbin/ipfw/altq.c user/jeff/numa/sbin/ipfw/dummynet.c user/jeff/numa/sbin/ipfw/ipfw.8 user/jeff/numa/sbin/ipfw/ipfw2.c user/jeff/numa/sbin/ipfw/ipfw2.h user/jeff/numa/sbin/ipfw/ipv6.c user/jeff/numa/sbin/ipfw/main.c user/jeff/numa/sbin/ipfw/nat.c user/jeff/numa/sbin/newfs_msdos/mkfs_msdos.c user/jeff/numa/sbin/pfctl/pfctl.c user/jeff/numa/sbin/reboot/reboot.8 user/jeff/numa/sbin/routed/main.c user/jeff/numa/sbin/shutdown/shutdown.8 user/jeff/numa/sbin/shutdown/shutdown.c user/jeff/numa/share/dict/web2 user/jeff/numa/share/examples/etc/make.conf user/jeff/numa/share/examples/sunrpc/msg/msg_proc.c user/jeff/numa/share/man/man3/assert.3 user/jeff/numa/share/man/man4/Makefile user/jeff/numa/share/man/man4/ada.4 user/jeff/numa/share/man/man4/da.4 user/jeff/numa/share/man/man4/em.4 user/jeff/numa/share/man/man4/ip.4 user/jeff/numa/share/man/man4/lm75.4 user/jeff/numa/share/man/man4/md.4 user/jeff/numa/share/man/man4/nand.4 user/jeff/numa/share/man/man4/pci.4 user/jeff/numa/share/man/man4/scsi.4 user/jeff/numa/share/man/man4/vt.4 user/jeff/numa/share/man/man4/vxlan.4 user/jeff/numa/share/man/man4/watchdog.4 user/jeff/numa/share/man/man5/mailer.conf.5 user/jeff/numa/share/man/man5/rc.conf.5 user/jeff/numa/share/man/man7/build.7 user/jeff/numa/share/man/man9/atomic.9 user/jeff/numa/share/man/man9/ieee80211.9 user/jeff/numa/share/man/man9/iflibdd.9 user/jeff/numa/share/man/man9/iflibtxrx.9 user/jeff/numa/share/man/man9/uio.9 user/jeff/numa/share/misc/bsd-family-tree user/jeff/numa/share/misc/iso639 user/jeff/numa/share/misc/pci_vendors user/jeff/numa/share/mk/bsd.sys.mk user/jeff/numa/share/skel/dot.shrc user/jeff/numa/stand/arm/uboot/Makefile user/jeff/numa/stand/common/bootstrap.h user/jeff/numa/stand/common/interp.c user/jeff/numa/stand/common/interp_forth.c user/jeff/numa/stand/defs.mk user/jeff/numa/stand/efi/boot1/boot1.c user/jeff/numa/stand/efi/fdt/efi_fdt.c user/jeff/numa/stand/efi/loader/Makefile user/jeff/numa/stand/efi/loader/main.c user/jeff/numa/stand/fdt/fdt_loader_cmd.c user/jeff/numa/stand/fdt/fdt_overlay.c user/jeff/numa/stand/fdt/fdt_overlay.h user/jeff/numa/stand/i386/Makefile.inc user/jeff/numa/stand/i386/boot2/Makefile user/jeff/numa/stand/i386/gptboot/Makefile user/jeff/numa/stand/i386/libfirewire/Makefile user/jeff/numa/stand/i386/libi386/Makefile user/jeff/numa/stand/i386/libi386/multiboot.c user/jeff/numa/stand/i386/loader/Makefile user/jeff/numa/stand/i386/loader/main.c user/jeff/numa/stand/i386/zfsboot/Makefile user/jeff/numa/stand/libsa/Makefile user/jeff/numa/stand/libsa/stand.h user/jeff/numa/stand/loader.mk user/jeff/numa/stand/mips/beri/loader/Makefile user/jeff/numa/stand/mips/beri/loader/main.c user/jeff/numa/stand/mips/uboot/Makefile user/jeff/numa/stand/ofw/common/main.c user/jeff/numa/stand/powerpc/kboot/Makefile user/jeff/numa/stand/powerpc/kboot/main.c user/jeff/numa/stand/powerpc/ofw/Makefile user/jeff/numa/stand/powerpc/uboot/Makefile user/jeff/numa/stand/sparc64/loader/Makefile user/jeff/numa/stand/sparc64/loader/main.c user/jeff/numa/stand/uboot/common/main.c user/jeff/numa/stand/uboot/fdt/uboot_fdt.c user/jeff/numa/stand/userboot/userboot/Makefile user/jeff/numa/stand/userboot/userboot/main.c user/jeff/numa/sys/amd64/amd64/machdep.c user/jeff/numa/sys/amd64/amd64/support.S user/jeff/numa/sys/amd64/amd64/trap.c user/jeff/numa/sys/amd64/include/atomic.h user/jeff/numa/sys/amd64/vmm/intel/vmx.c user/jeff/numa/sys/arm/allwinner/a10/a10_intc.c user/jeff/numa/sys/arm/allwinner/allwinner_pinctrl.h user/jeff/numa/sys/arm/allwinner/aw_mp.c user/jeff/numa/sys/arm/allwinner/aw_mp.h user/jeff/numa/sys/arm/allwinner/aw_sid.c user/jeff/numa/sys/arm/allwinner/aw_wdog.c user/jeff/numa/sys/arm/allwinner/axp81x.c user/jeff/numa/sys/arm/allwinner/clk/aw_pll.c user/jeff/numa/sys/arm/allwinner/files.allwinner user/jeff/numa/sys/arm/allwinner/if_awg.c user/jeff/numa/sys/arm/allwinner/std.allwinner user/jeff/numa/sys/arm/allwinner/std.allwinner_up user/jeff/numa/sys/arm/altera/socfpga/files.socfpga user/jeff/numa/sys/arm/altera/socfpga/std.socfpga user/jeff/numa/sys/arm/amlogic/aml8726/aml8726_timer.c user/jeff/numa/sys/arm/arm/dump_machdep.c user/jeff/numa/sys/arm/arm/elf_trampoline.c user/jeff/numa/sys/arm/arm/genassym.c user/jeff/numa/sys/arm/arm/generic_timer.c user/jeff/numa/sys/arm/arm/gic.c user/jeff/numa/sys/arm/arm/locore-v6.S user/jeff/numa/sys/arm/arm/machdep.c user/jeff/numa/sys/arm/arm/machdep_boot.c user/jeff/numa/sys/arm/arm/mpcore_timer.c user/jeff/numa/sys/arm/arm/pmap-v6.c user/jeff/numa/sys/arm/at91/at91_machdep.c user/jeff/numa/sys/arm/broadcom/bcm2835/bcm2835_bsc.c user/jeff/numa/sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c user/jeff/numa/sys/arm/broadcom/bcm2835/bcm2835_gpio.c user/jeff/numa/sys/arm/broadcom/bcm2835/bcm2835_mbox.c user/jeff/numa/sys/arm/broadcom/bcm2835/std.rpi user/jeff/numa/sys/arm/cavium/cns11xx/timer.c user/jeff/numa/sys/arm/conf/GENERIC user/jeff/numa/sys/arm/conf/NOTES user/jeff/numa/sys/arm/freescale/imx/files.imx6 user/jeff/numa/sys/arm/freescale/imx/std.imx51 user/jeff/numa/sys/arm/freescale/imx/std.imx53 user/jeff/numa/sys/arm/freescale/imx/std.imx6 user/jeff/numa/sys/arm/freescale/vybrid/std.vybrid user/jeff/numa/sys/arm/include/atomic.h user/jeff/numa/sys/arm/include/stdarg.h user/jeff/numa/sys/arm/include/vmparam.h user/jeff/numa/sys/arm/lpc/lpc_timer.c user/jeff/numa/sys/arm/mv/armada38x/std.armada38x user/jeff/numa/sys/arm/mv/armadaxp/std.armadaxp user/jeff/numa/sys/arm/mv/timer.c user/jeff/numa/sys/arm/nvidia/tegra124/std.tegra124 user/jeff/numa/sys/arm/ralink/rt1310_timer.c user/jeff/numa/sys/arm/rockchip/files.rk30xx user/jeff/numa/sys/arm/rockchip/std.rk30xx user/jeff/numa/sys/arm/samsung/exynos/files.exynos5 user/jeff/numa/sys/arm/samsung/exynos/std.exynos5250 user/jeff/numa/sys/arm/samsung/exynos/std.exynos5420 user/jeff/numa/sys/arm/ti/am335x/std.am335x user/jeff/numa/sys/arm/ti/omap4/std.omap4 user/jeff/numa/sys/arm/xilinx/std.zynq7 user/jeff/numa/sys/arm/xscale/i8134x/i80321_timer.c user/jeff/numa/sys/arm/xscale/ixp425/ixdp425_pci.c user/jeff/numa/sys/arm/xscale/ixp425/ixdp425reg.h user/jeff/numa/sys/arm/xscale/ixp425/ixp425.c user/jeff/numa/sys/arm/xscale/ixp425/ixp425_npe.c user/jeff/numa/sys/arm/xscale/ixp425/ixp425_npereg.h user/jeff/numa/sys/arm/xscale/ixp425/ixp425_pci.c user/jeff/numa/sys/arm/xscale/ixp425/ixp425_pci_space.c user/jeff/numa/sys/arm/xscale/ixp425/ixp425_space.c user/jeff/numa/sys/arm/xscale/ixp425/ixp425_timer.c user/jeff/numa/sys/arm/xscale/ixp425/ixp425reg.h user/jeff/numa/sys/arm/xscale/ixp425/ixp425var.h user/jeff/numa/sys/arm/xscale/pxa/pxa_timer.c user/jeff/numa/sys/arm64/arm64/gic_v3.c user/jeff/numa/sys/arm64/arm64/gicv3_its.c user/jeff/numa/sys/arm64/arm64/machdep.c user/jeff/numa/sys/arm64/arm64/pmap.c user/jeff/numa/sys/arm64/include/atomic.h user/jeff/numa/sys/arm64/include/stdarg.h user/jeff/numa/sys/cam/ata/ata_da.c user/jeff/numa/sys/cam/cam_ccb.h user/jeff/numa/sys/cam/cam_periph.c user/jeff/numa/sys/cam/ctl/ctl.c user/jeff/numa/sys/cam/scsi/scsi_da.c user/jeff/numa/sys/cam/scsi/scsi_pass.c user/jeff/numa/sys/cddl/compat/opensolaris/sys/kmem.h user/jeff/numa/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c user/jeff/numa/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_znode.h user/jeff/numa/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_dir.c user/jeff/numa/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c user/jeff/numa/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h user/jeff/numa/sys/cddl/dev/dtrace/amd64/dtrace_subr.c user/jeff/numa/sys/cddl/dev/dtrace/i386/dtrace_subr.c user/jeff/numa/sys/compat/linuxkpi/common/src/linux_page.c user/jeff/numa/sys/compat/linuxkpi/common/src/linux_rcu.c user/jeff/numa/sys/conf/Makefile.arm user/jeff/numa/sys/conf/NOTES user/jeff/numa/sys/conf/files user/jeff/numa/sys/conf/files.arm64 user/jeff/numa/sys/conf/files.i386 user/jeff/numa/sys/conf/files.powerpc user/jeff/numa/sys/conf/ldscript.powerpc64 user/jeff/numa/sys/conf/options user/jeff/numa/sys/conf/options.arm user/jeff/numa/sys/dev/acpica/acpi.c user/jeff/numa/sys/dev/acpica/acpi_cpu.c user/jeff/numa/sys/dev/aha/aha_isa.c user/jeff/numa/sys/dev/ahci/ahci_pci.c user/jeff/numa/sys/dev/aic/aic_isa.c user/jeff/numa/sys/dev/al_eth/al_eth.c user/jeff/numa/sys/dev/an/if_an_isa.c user/jeff/numa/sys/dev/ath/if_ath.c user/jeff/numa/sys/dev/ath/if_ath_beacon.c user/jeff/numa/sys/dev/ath/if_ath_btcoex.c user/jeff/numa/sys/dev/ath/if_ath_lna_div.c user/jeff/numa/sys/dev/ath/if_ath_spectral.c user/jeff/numa/sys/dev/ath/if_ath_tx.c user/jeff/numa/sys/dev/atkbdc/atkbdc_isa.c user/jeff/numa/sys/dev/axgbe/xgbe-drv.c user/jeff/numa/sys/dev/axgbe/xgbe-mdio.c user/jeff/numa/sys/dev/bhnd/bhndb/bhndb_pci_hwdata.c user/jeff/numa/sys/dev/bhnd/bhndb/bhndb_subr.c user/jeff/numa/sys/dev/bhnd/nvram/bhnd_nvram_store_subr.c user/jeff/numa/sys/dev/bhnd/nvram/nvram_map user/jeff/numa/sys/dev/bnxt/bnxt.h user/jeff/numa/sys/dev/bnxt/bnxt_hwrm.c user/jeff/numa/sys/dev/bnxt/bnxt_hwrm.h user/jeff/numa/sys/dev/bnxt/bnxt_sysctl.c user/jeff/numa/sys/dev/bnxt/if_bnxt.c user/jeff/numa/sys/dev/bwn/if_bwn.c user/jeff/numa/sys/dev/cadence/if_cgem.c user/jeff/numa/sys/dev/cesa/cesa.h user/jeff/numa/sys/dev/cs/if_cs_isa.c user/jeff/numa/sys/dev/cxgbe/adapter.h user/jeff/numa/sys/dev/cxgbe/common/common.h user/jeff/numa/sys/dev/cxgbe/common/t4_hw.c user/jeff/numa/sys/dev/cxgbe/iw_cxgbe/cm.c user/jeff/numa/sys/dev/cxgbe/t4_main.c user/jeff/numa/sys/dev/cxgbe/t4_netmap.c user/jeff/numa/sys/dev/cxgbe/t4_sge.c user/jeff/numa/sys/dev/cxgbe/t4_vf.c user/jeff/numa/sys/dev/de/if_de.c user/jeff/numa/sys/dev/drm/mga_state.c user/jeff/numa/sys/dev/drm2/i915/i915_drv.c user/jeff/numa/sys/dev/drm2/radeon/radeon_drv.c user/jeff/numa/sys/dev/e1000/e1000_82543.c user/jeff/numa/sys/dev/e1000/e1000_api.c user/jeff/numa/sys/dev/e1000/e1000_hw.h user/jeff/numa/sys/dev/e1000/e1000_ich8lan.c user/jeff/numa/sys/dev/e1000/e1000_ich8lan.h user/jeff/numa/sys/dev/e1000/em_txrx.c user/jeff/numa/sys/dev/e1000/if_em.c user/jeff/numa/sys/dev/e1000/if_em.h user/jeff/numa/sys/dev/e1000/igb_txrx.c user/jeff/numa/sys/dev/ed/if_ed_isa.c user/jeff/numa/sys/dev/ed/if_ed_pci.c user/jeff/numa/sys/dev/ep/if_ep_isa.c user/jeff/numa/sys/dev/ex/if_ex_isa.c user/jeff/numa/sys/dev/extres/clk/clk_bus.c user/jeff/numa/sys/dev/extres/regulator/regulator_bus.c user/jeff/numa/sys/dev/fdc/fdc_isa.c user/jeff/numa/sys/dev/fdc/fdc_pccard.c user/jeff/numa/sys/dev/fdt/fdt_common.c user/jeff/numa/sys/dev/fe/if_fe_isa.c user/jeff/numa/sys/dev/hpt27xx/hpt27xx_osm_bsd.c user/jeff/numa/sys/dev/hptnr/hptnr_osm_bsd.c user/jeff/numa/sys/dev/hptrr/hptrr_osm_bsd.c user/jeff/numa/sys/dev/iicbus/twsi/a10_twsi.c user/jeff/numa/sys/dev/intpm/intpm.c user/jeff/numa/sys/dev/ioat/ioat.c user/jeff/numa/sys/dev/isci/scil/scic_sds_remote_node_context.c user/jeff/numa/sys/dev/isci/scil/scif_sas_controller.c user/jeff/numa/sys/dev/iwi/if_iwi.c user/jeff/numa/sys/dev/iwm/if_iwm.c user/jeff/numa/sys/dev/iwm/if_iwmreg.h user/jeff/numa/sys/dev/iwn/if_iwn.c user/jeff/numa/sys/dev/ixgbe/if_bypass.c user/jeff/numa/sys/dev/ixgbe/if_fdir.c user/jeff/numa/sys/dev/ixgbe/if_ix.c user/jeff/numa/sys/dev/ixgbe/if_ixv.c user/jeff/numa/sys/dev/ixgbe/if_sriov.c user/jeff/numa/sys/dev/ixgbe/ix_txrx.c user/jeff/numa/sys/dev/ixgbe/ixgbe.h user/jeff/numa/sys/dev/ixgbe/ixgbe_common.c user/jeff/numa/sys/dev/ixgbe/ixgbe_fdir.h user/jeff/numa/sys/dev/ixgbe/ixgbe_osdep.c user/jeff/numa/sys/dev/ixgbe/ixgbe_osdep.h user/jeff/numa/sys/dev/ixgbe/ixgbe_phy.c user/jeff/numa/sys/dev/ixgbe/ixgbe_sriov.h user/jeff/numa/sys/dev/ixgbe/ixgbe_type.h user/jeff/numa/sys/dev/ixgbe/ixgbe_vf.h user/jeff/numa/sys/dev/joy/joy_isa.c user/jeff/numa/sys/dev/le/if_le_isa.c user/jeff/numa/sys/dev/lmc/if_lmc.c user/jeff/numa/sys/dev/lmc/if_lmc.h user/jeff/numa/sys/dev/md/md.c user/jeff/numa/sys/dev/mii/rdcphy.c user/jeff/numa/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c user/jeff/numa/sys/dev/mmc/host/dwmmc.c user/jeff/numa/sys/dev/mmc/host/dwmmc_hisi.c user/jeff/numa/sys/dev/mmc/host/dwmmc_var.h user/jeff/numa/sys/dev/mmc/mmc.c user/jeff/numa/sys/dev/mmc/mmcsd.c user/jeff/numa/sys/dev/mse/mse_isa.c user/jeff/numa/sys/dev/mvs/mvs_pci.c user/jeff/numa/sys/dev/mwl/if_mwl.c user/jeff/numa/sys/dev/nctgpio/nctgpio.c user/jeff/numa/sys/dev/ntb/ntb_hw/ntb_hw_intel.c user/jeff/numa/sys/dev/nvme/nvme.c user/jeff/numa/sys/dev/nvme/nvme_ctrlr.c user/jeff/numa/sys/dev/nvme/nvme_private.h user/jeff/numa/sys/dev/nvme/nvme_sim.c user/jeff/numa/sys/dev/ofw/ofw_bus_subr.c user/jeff/numa/sys/dev/ofw/ofw_fdt.c user/jeff/numa/sys/dev/ofw/ofwpci.c user/jeff/numa/sys/dev/otus/if_otus.c user/jeff/numa/sys/dev/pccard/pccardvar.h user/jeff/numa/sys/dev/pccbb/pccbb_isa.c user/jeff/numa/sys/dev/pci/pci.c user/jeff/numa/sys/dev/pci/pci_pci.c user/jeff/numa/sys/dev/ppc/ppc_isa.c user/jeff/numa/sys/dev/ral/rt2661.c user/jeff/numa/sys/dev/ral/rt2860.c user/jeff/numa/sys/dev/rtwn/if_rtwn.c user/jeff/numa/sys/dev/sbni/if_sbni_isa.c user/jeff/numa/sys/dev/sdhci/sdhci.c user/jeff/numa/sys/dev/sdhci/sdhci_pci.c user/jeff/numa/sys/dev/sfxge/common/siena_nvram.c user/jeff/numa/sys/dev/sio/sio.c user/jeff/numa/sys/dev/sio/sio_isa.c user/jeff/numa/sys/dev/smc/if_smc_fdt.c user/jeff/numa/sys/dev/sound/isa/mss.h user/jeff/numa/sys/dev/spibus/ofw_spibus.c user/jeff/numa/sys/dev/syscons/scvgarndr.c user/jeff/numa/sys/dev/txp/if_txp.c user/jeff/numa/sys/dev/txp/if_txpreg.h user/jeff/numa/sys/dev/uart/uart_bus_acpi.c user/jeff/numa/sys/dev/uart/uart_bus_isa.c user/jeff/numa/sys/dev/uart/uart_dev_pl011.c user/jeff/numa/sys/dev/uart/uart_dev_snps.c user/jeff/numa/sys/dev/usb/controller/dwc_otg_fdt.c user/jeff/numa/sys/dev/usb/controller/ehci.c user/jeff/numa/sys/dev/usb/controller/ohci.c user/jeff/numa/sys/dev/usb/controller/xhci.c user/jeff/numa/sys/dev/usb/controller/xhci_pci.c user/jeff/numa/sys/dev/usb/storage/umass.c user/jeff/numa/sys/dev/usb/usb_dev.c user/jeff/numa/sys/dev/usb/wlan/if_rum.c user/jeff/numa/sys/dev/usb/wlan/if_run.c user/jeff/numa/sys/dev/vnic/nic_main.c user/jeff/numa/sys/dev/vnic/nicvf_main.c user/jeff/numa/sys/dev/vnic/nicvf_queues.c user/jeff/numa/sys/dev/vt/colors/vt_termcolors.c user/jeff/numa/sys/dev/vt/hw/ofwfb/ofwfb.c user/jeff/numa/sys/dev/watchdog/watchdog.c user/jeff/numa/sys/dev/wpi/if_wpi.c user/jeff/numa/sys/fs/cd9660/cd9660_vfsops.c user/jeff/numa/sys/fs/devfs/devfs_vnops.c user/jeff/numa/sys/fs/ext2fs/ext2_vnops.c user/jeff/numa/sys/fs/fdescfs/fdesc_vnops.c user/jeff/numa/sys/fs/fifofs/fifo_vnops.c user/jeff/numa/sys/fs/fuse/fuse_param.h user/jeff/numa/sys/fs/fuse/fuse_vnops.c user/jeff/numa/sys/fs/msdosfs/msdosfs_vnops.c user/jeff/numa/sys/fs/nandfs/nandfs_vnops.c user/jeff/numa/sys/fs/nfs/nfs_commonkrpc.c user/jeff/numa/sys/fs/nfs/nfs_commonport.c user/jeff/numa/sys/fs/nfs/nfs_commonsubs.c user/jeff/numa/sys/fs/nfs/nfsproto.h user/jeff/numa/sys/fs/nfsclient/nfs_clcomsubs.c user/jeff/numa/sys/fs/nfsclient/nfs_clrpcops.c user/jeff/numa/sys/fs/nfsclient/nfs_clstate.c user/jeff/numa/sys/fs/nfsclient/nfs_clvnops.c user/jeff/numa/sys/fs/nfsserver/nfs_nfsdport.c user/jeff/numa/sys/fs/nfsserver/nfs_nfsdstate.c user/jeff/numa/sys/fs/procfs/procfs_map.c user/jeff/numa/sys/fs/smbfs/smbfs_vnops.c user/jeff/numa/sys/fs/tmpfs/tmpfs.h user/jeff/numa/sys/fs/tmpfs/tmpfs_fifoops.c user/jeff/numa/sys/fs/tmpfs/tmpfs_subr.c user/jeff/numa/sys/fs/tmpfs/tmpfs_vnops.c user/jeff/numa/sys/fs/tmpfs/tmpfs_vnops.h user/jeff/numa/sys/fs/udf/udf_vnops.c user/jeff/numa/sys/geom/geom_ccd.c user/jeff/numa/sys/geom/geom_event.c user/jeff/numa/sys/geom/geom_subr.c user/jeff/numa/sys/geom/mirror/g_mirror.c user/jeff/numa/sys/geom/mirror/g_mirror.h user/jeff/numa/sys/geom/raid/g_raid.c user/jeff/numa/sys/geom/raid/md_ddf.c user/jeff/numa/sys/geom/raid/md_promise.c user/jeff/numa/sys/geom/raid/tr_raid5.c user/jeff/numa/sys/i386/conf/GENERIC user/jeff/numa/sys/i386/conf/NOTES user/jeff/numa/sys/i386/i386/locore.s user/jeff/numa/sys/i386/i386/pmap.c user/jeff/numa/sys/i386/i386/support.s user/jeff/numa/sys/i386/i386/trap.c user/jeff/numa/sys/i386/include/atomic.h user/jeff/numa/sys/isa/isa_common.c user/jeff/numa/sys/isa/isavar.h user/jeff/numa/sys/isa/pnp.c user/jeff/numa/sys/isa/vga_isa.c user/jeff/numa/sys/kern/device_if.m user/jeff/numa/sys/kern/init_main.c user/jeff/numa/sys/kern/kern_clock.c user/jeff/numa/sys/kern/kern_descrip.c user/jeff/numa/sys/kern/kern_dump.c user/jeff/numa/sys/kern/kern_kthread.c user/jeff/numa/sys/kern/kern_mutex.c user/jeff/numa/sys/kern/kern_proc.c user/jeff/numa/sys/kern/kern_rwlock.c user/jeff/numa/sys/kern/kern_shutdown.c user/jeff/numa/sys/kern/kern_sx.c user/jeff/numa/sys/kern/kern_synch.c user/jeff/numa/sys/kern/kern_tc.c user/jeff/numa/sys/kern/link_elf.c user/jeff/numa/sys/kern/subr_autoconf.c user/jeff/numa/sys/kern/subr_msgbuf.c user/jeff/numa/sys/kern/subr_prf.c user/jeff/numa/sys/kern/subr_sleepqueue.c user/jeff/numa/sys/kern/subr_smp.c user/jeff/numa/sys/kern/subr_witness.c user/jeff/numa/sys/kern/sysv_ipc.c user/jeff/numa/sys/kern/sysv_shm.c user/jeff/numa/sys/kern/vfs_aio.c user/jeff/numa/sys/kern/vfs_default.c user/jeff/numa/sys/kern/vfs_export.c user/jeff/numa/sys/kern/vfs_mountroot.c user/jeff/numa/sys/kern/vfs_subr.c user/jeff/numa/sys/libkern/strstr.c user/jeff/numa/sys/mips/conf/BERI_SOCKIT user/jeff/numa/sys/mips/conf/TP-WN1043ND user/jeff/numa/sys/mips/include/atomic.h user/jeff/numa/sys/mips/ingenic/jz4780_timer.c user/jeff/numa/sys/mips/mips/db_interface.c user/jeff/numa/sys/mips/mips/support.S user/jeff/numa/sys/mips/mips/tick.c user/jeff/numa/sys/mips/nlm/tick.c user/jeff/numa/sys/modules/Makefile user/jeff/numa/sys/modules/ep/Makefile user/jeff/numa/sys/modules/ix/Makefile user/jeff/numa/sys/modules/ixv/Makefile user/jeff/numa/sys/net/altq/altq_hfsc.h user/jeff/numa/sys/net/bpf.c user/jeff/numa/sys/net/if_clone.c user/jeff/numa/sys/net/if_ethersubr.c user/jeff/numa/sys/net/if_gif.c user/jeff/numa/sys/net/if_vxlan.c user/jeff/numa/sys/net/if_vxlan.h user/jeff/numa/sys/net/ifdi_if.m user/jeff/numa/sys/net/iflib.c user/jeff/numa/sys/net/iflib.h user/jeff/numa/sys/net/pfvar.h user/jeff/numa/sys/net80211/ieee80211_ht.c user/jeff/numa/sys/net80211/ieee80211_node.c user/jeff/numa/sys/net80211/ieee80211_output.c user/jeff/numa/sys/net80211/ieee80211_scan_sta.c user/jeff/numa/sys/netinet/icmp6.h user/jeff/numa/sys/netinet/libalias/alias_sctp.c user/jeff/numa/sys/netinet/sctp_crc32.c user/jeff/numa/sys/netinet/sctp_crc32.h user/jeff/numa/sys/netinet/tcp_output.c user/jeff/numa/sys/netinet6/in6_mcast.c user/jeff/numa/sys/netinet6/in6_src.c user/jeff/numa/sys/netinet6/ip6_id.c user/jeff/numa/sys/netinet6/mld6.c user/jeff/numa/sys/netinet6/nd6.c user/jeff/numa/sys/netinet6/nd6.h user/jeff/numa/sys/netinet6/nd6_nbr.c user/jeff/numa/sys/netinet6/raw_ip6.c user/jeff/numa/sys/netinet6/udp6_usrreq.c user/jeff/numa/sys/netipsec/key.c user/jeff/numa/sys/netipsec/xform_ah.c user/jeff/numa/sys/netipsec/xform_esp.c user/jeff/numa/sys/netipsec/xform_ipcomp.c user/jeff/numa/sys/netpfil/pf/pf.c user/jeff/numa/sys/netpfil/pf/pf_ioctl.c user/jeff/numa/sys/netpfil/pf/pf_norm.c user/jeff/numa/sys/nfs/nfs_fha.c user/jeff/numa/sys/nlm/nlm_prot_impl.c user/jeff/numa/sys/opencrypto/crypto.c user/jeff/numa/sys/opencrypto/cryptosoft.c user/jeff/numa/sys/powerpc/aim/locore64.S user/jeff/numa/sys/powerpc/aim/trap_subr64.S user/jeff/numa/sys/powerpc/booke/booke_machdep.c user/jeff/numa/sys/powerpc/booke/locore.S user/jeff/numa/sys/powerpc/include/atomic.h user/jeff/numa/sys/powerpc/include/pcpu.h user/jeff/numa/sys/powerpc/include/vmparam.h user/jeff/numa/sys/powerpc/powerpc/clock.c user/jeff/numa/sys/powerpc/powerpc/db_interface.c user/jeff/numa/sys/powerpc/powerpc/machdep.c user/jeff/numa/sys/powerpc/powerpc/mp_machdep.c user/jeff/numa/sys/powerpc/powerpc/swtch64.S user/jeff/numa/sys/powerpc/powerpc/trap.c user/jeff/numa/sys/powerpc/ps3/mmu_ps3.c user/jeff/numa/sys/powerpc/ps3/platform_ps3.c user/jeff/numa/sys/powerpc/ps3/ps3_syscons.c user/jeff/numa/sys/powerpc/pseries/platform_chrp.c user/jeff/numa/sys/riscv/include/atomic.h user/jeff/numa/sys/riscv/riscv/timer.c user/jeff/numa/sys/rpc/clnt_dg.c user/jeff/numa/sys/security/mac/mac_syscalls.c user/jeff/numa/sys/sparc64/include/atomic.h user/jeff/numa/sys/sparc64/include/idprom.h user/jeff/numa/sys/sparc64/pci/sbbc.c user/jeff/numa/sys/sparc64/sparc64/clock.c user/jeff/numa/sys/sys/chio.h user/jeff/numa/sys/sys/copyright.h user/jeff/numa/sys/sys/gtaskqueue.h user/jeff/numa/sys/sys/kernel.h user/jeff/numa/sys/sys/libkern.h user/jeff/numa/sys/sys/mount.h user/jeff/numa/sys/sys/msg.h user/jeff/numa/sys/sys/proc.h user/jeff/numa/sys/sys/smp.h user/jeff/numa/sys/sys/snoop.h user/jeff/numa/sys/sys/syscallsubr.h user/jeff/numa/sys/sys/watchdog.h user/jeff/numa/sys/tools/embed_mfs.sh user/jeff/numa/sys/tools/makeobjops.awk user/jeff/numa/sys/ufs/ffs/ffs_alloc.c user/jeff/numa/sys/ufs/ffs/ffs_balloc.c user/jeff/numa/sys/ufs/ffs/ffs_snapshot.c user/jeff/numa/sys/ufs/ffs/ffs_softdep.c user/jeff/numa/sys/ufs/ffs/ffs_vnops.c user/jeff/numa/sys/ufs/ufs/dinode.h user/jeff/numa/sys/ufs/ufs/ufs_vnops.c user/jeff/numa/sys/vm/swap_pager.c user/jeff/numa/sys/vm/uma.h user/jeff/numa/sys/vm/uma_core.c user/jeff/numa/sys/vm/uma_int.h user/jeff/numa/sys/vm/vm_map.c user/jeff/numa/sys/vm/vm_object.c user/jeff/numa/sys/vm/vm_page.c user/jeff/numa/sys/vm/vm_pageout.c user/jeff/numa/sys/vm/vm_pageout.h user/jeff/numa/sys/vm/vm_swapout.c user/jeff/numa/sys/x86/acpica/acpi_wakeup.c user/jeff/numa/sys/x86/include/specialreg.h user/jeff/numa/sys/x86/include/stdarg.h user/jeff/numa/sys/x86/x86/delay.c user/jeff/numa/sys/x86/x86/identcpu.c user/jeff/numa/sys/x86/x86/io_apic.c user/jeff/numa/sys/x86/x86/mp_x86.c user/jeff/numa/targets/pseudo/userland/Makefile.depend user/jeff/numa/tests/sys/fifo/fifo_io.c user/jeff/numa/tests/sys/geom/class/eli/attach_d_test.sh user/jeff/numa/tests/sys/geom/class/eli/conf.sh user/jeff/numa/tests/sys/geom/class/eli/configure_b_B_test.sh user/jeff/numa/tests/sys/geom/class/eli/delkey_test.sh user/jeff/numa/tests/sys/geom/class/eli/detach_l_test.sh user/jeff/numa/tests/sys/geom/class/eli/init_B_test.sh user/jeff/numa/tests/sys/geom/class/eli/init_J_test.sh user/jeff/numa/tests/sys/geom/class/eli/init_a_test.sh user/jeff/numa/tests/sys/geom/class/eli/init_alias_test.sh user/jeff/numa/tests/sys/geom/class/eli/init_i_P_test.sh user/jeff/numa/tests/sys/geom/class/eli/init_test.sh user/jeff/numa/tests/sys/geom/class/eli/integrity_copy_test.sh user/jeff/numa/tests/sys/geom/class/eli/integrity_data_test.sh user/jeff/numa/tests/sys/geom/class/eli/integrity_hmac_test.sh user/jeff/numa/tests/sys/geom/class/eli/kill_test.sh user/jeff/numa/tests/sys/geom/class/eli/nokey_test.sh user/jeff/numa/tests/sys/geom/class/eli/onetime_a_test.sh user/jeff/numa/tests/sys/geom/class/eli/onetime_d_test.sh user/jeff/numa/tests/sys/geom/class/eli/onetime_test.sh user/jeff/numa/tests/sys/geom/class/eli/readonly_test.sh user/jeff/numa/tests/sys/geom/class/eli/resize_test.sh user/jeff/numa/tests/sys/geom/class/eli/setkey_test.sh user/jeff/numa/tests/sys/kern/ptrace_test.c user/jeff/numa/tools/boot/rootgen.sh user/jeff/numa/tools/regression/bpf/bpf_filter/bpf_test.c user/jeff/numa/tools/tools/sysbuild/sysbuild.sh user/jeff/numa/usr.bin/calendar/io.c user/jeff/numa/usr.bin/column/column.c user/jeff/numa/usr.bin/find/Makefile user/jeff/numa/usr.bin/find/function.c user/jeff/numa/usr.bin/ldd/ldd.1 user/jeff/numa/usr.bin/localedef/ctype.c user/jeff/numa/usr.bin/mail/cmd3.c user/jeff/numa/usr.bin/mail/collect.c user/jeff/numa/usr.bin/mail/names.c user/jeff/numa/usr.bin/man/man.1 user/jeff/numa/usr.bin/msgs/msgs.c user/jeff/numa/usr.bin/patch/patch.c user/jeff/numa/usr.bin/patch/pch.c user/jeff/numa/usr.bin/rpcgen/rpc_main.c user/jeff/numa/usr.bin/rpcgen/rpc_parse.c user/jeff/numa/usr.bin/rpcgen/rpc_scan.c user/jeff/numa/usr.bin/showmount/showmount.c user/jeff/numa/usr.bin/tcopy/tcopy.c user/jeff/numa/usr.bin/truss/Makefile user/jeff/numa/usr.bin/wall/wall.c user/jeff/numa/usr.bin/xargs/strnsubst.c user/jeff/numa/usr.sbin/Makefile user/jeff/numa/usr.sbin/binmiscctl/binmiscctl.c user/jeff/numa/usr.sbin/bsdinstall/distextract/distextract.c user/jeff/numa/usr.sbin/bsdinstall/partedit/gpart_ops.c user/jeff/numa/usr.sbin/bsdinstall/partedit/partedit_powerpc.c user/jeff/numa/usr.sbin/bsdinstall/scripts/Makefile user/jeff/numa/usr.sbin/bsdinstall/scripts/auto user/jeff/numa/usr.sbin/bsdinstall/scripts/rootpass user/jeff/numa/usr.sbin/bsdinstall/scripts/script user/jeff/numa/usr.sbin/btxld/btxld.c user/jeff/numa/usr.sbin/cpucontrol/intel.c user/jeff/numa/usr.sbin/cpucontrol/via.c user/jeff/numa/usr.sbin/ctld/login.c user/jeff/numa/usr.sbin/devinfo/devinfo.8 user/jeff/numa/usr.sbin/devinfo/devinfo.c user/jeff/numa/usr.sbin/efibootmgr/efibootmgr.c user/jeff/numa/usr.sbin/fwcontrol/fwdv.c user/jeff/numa/usr.sbin/kgmon/kgmon.c user/jeff/numa/usr.sbin/kldxref/ef.c user/jeff/numa/usr.sbin/kldxref/ef_obj.c user/jeff/numa/usr.sbin/mailwrapper/Makefile user/jeff/numa/usr.sbin/mailwrapper/Makefile.depend user/jeff/numa/usr.sbin/mailwrapper/mailwrapper.c user/jeff/numa/usr.sbin/makefs/cd9660.c user/jeff/numa/usr.sbin/makefs/ffs.c user/jeff/numa/usr.sbin/nandtool/nand_read.c user/jeff/numa/usr.sbin/nandtool/nand_readoob.c user/jeff/numa/usr.sbin/ndiscvt/ndiscvt.c user/jeff/numa/usr.sbin/newsyslog/newsyslog.c user/jeff/numa/usr.sbin/newsyslog/newsyslog.conf.5 user/jeff/numa/usr.sbin/nfsd/nfsd.c user/jeff/numa/usr.sbin/ntp/doc/ntp.conf.5 user/jeff/numa/usr.sbin/rpc.lockd/lockd_lock.c user/jeff/numa/usr.sbin/rpcbind/check_bound.c user/jeff/numa/usr.sbin/rpcbind/rpcb_stat.c user/jeff/numa/usr.sbin/rpcbind/rpcb_svc.c user/jeff/numa/usr.sbin/rpcbind/rpcb_svc_4.c user/jeff/numa/usr.sbin/rpcbind/rpcb_svc_com.c user/jeff/numa/usr.sbin/rpcbind/rpcbind.c user/jeff/numa/usr.sbin/rpcbind/rpcbind.h user/jeff/numa/usr.sbin/rpcbind/security.c user/jeff/numa/usr.sbin/rpcbind/tests/addrmerge_test.c user/jeff/numa/usr.sbin/rpcbind/util.c user/jeff/numa/usr.sbin/usbconfig/usbconfig.8 user/jeff/numa/usr.sbin/watch/watch.c Directory Properties: user/jeff/numa/ (props changed) user/jeff/numa/contrib/binutils/ (props changed) user/jeff/numa/contrib/compiler-rt/ (props changed) user/jeff/numa/contrib/elftoolchain/ (props changed) user/jeff/numa/contrib/libc++/ (props changed) user/jeff/numa/contrib/llvm/ (props changed) user/jeff/numa/contrib/llvm/tools/clang/ (props changed) user/jeff/numa/contrib/llvm/tools/lld/ (props changed) user/jeff/numa/contrib/llvm/tools/lldb/ (props changed) user/jeff/numa/lib/libedit/ (props changed) user/jeff/numa/sys/cddl/contrib/opensolaris/ (props changed) Modified: user/jeff/numa/.arclint ============================================================================== --- user/jeff/numa/.arclint Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/.arclint Wed Jan 3 01:19:18 2018 (r327508) @@ -24,4 +24,3 @@ } } } - Copied: user/jeff/numa/.gitattributes (from r327507, head/.gitattributes) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/jeff/numa/.gitattributes Wed Jan 3 01:19:18 2018 (r327508, copy of r327507, head/.gitattributes) @@ -0,0 +1,5 @@ +*.c diff=cpp +*.h diff=cpp +*.cpp diff=cpp +*.hpp diff=cpp +*.py diff=python Copied: user/jeff/numa/.gitignore (from r327507, head/.gitignore) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/jeff/numa/.gitignore Wed Jan 3 01:19:18 2018 (r327508, copy of r327507, head/.gitignore) @@ -0,0 +1,18 @@ +_.tinderbox.* +_.amd64.* +_.arm.* +_.arm64.* +_.i386.* +_.ia64.* +_.mips.* +_.pc98.* +_.powerpc.* +_.riscv.* +_.sparc64.* +_.sun4v.* +GPATH +GRTAGS +GTAGS +ID +cscope.out +?cscope.out Modified: user/jeff/numa/COPYRIGHT ============================================================================== --- user/jeff/numa/COPYRIGHT Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/COPYRIGHT Wed Jan 3 01:19:18 2018 (r327508) @@ -4,7 +4,7 @@ The compilation of software known as FreeBSD is distributed under the following terms: -Copyright (c) 1992-2017 The FreeBSD Project. All rights reserved. +Copyright (c) 1992-2018 The FreeBSD Project. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions Modified: user/jeff/numa/Makefile.inc1 ============================================================================== --- user/jeff/numa/Makefile.inc1 Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/Makefile.inc1 Wed Jan 3 01:19:18 2018 (r327508) @@ -262,10 +262,11 @@ SUBDIR+= tests SUBDIR+=contrib/ofed .endif -# Local directories are last, since it is nice to at least get the base -# system rebuilt before you do them. +# Local directories are built in parallel with the base system directories. +# Users may insert a .WAIT directive at the beginning or elsewhere within +# the LOCAL_DIRS and LOCAL_LIB_DIRS lists as needed. .for _DIR in ${LOCAL_DIRS} -.if exists(${.CURDIR}/${_DIR}/Makefile) +.if ${_DIR} == ".WAIT" || exists(${.CURDIR}/${_DIR}/Makefile) SUBDIR+= ${_DIR} .endif .endfor @@ -276,7 +277,7 @@ SUBDIR+= ${_DIR} _REDUNDANT_LIB_DIRS+= ${LOCAL_LIB_DIRS:M${_DIR}*} .endfor .for _DIR in ${LOCAL_LIB_DIRS} -.if empty(_REDUNDANT_LIB_DIRS:M${_DIR}) && exists(${.CURDIR}/${_DIR}/Makefile) +.if ${_DIR} == ".WAIT" || (empty(_REDUNDANT_LIB_DIRS:M${_DIR}) && exists(${.CURDIR}/${_DIR}/Makefile)) SUBDIR+= ${_DIR} .endif .endfor @@ -2445,7 +2446,7 @@ _generic_libs= ${_cddl_lib} gnu/lib ${_kerberos5_lib} _generic_libs+= sbin/ipf/libipf .endif .for _DIR in ${LOCAL_LIB_DIRS} -.if exists(${.CURDIR}/${_DIR}/Makefile) && empty(_generic_libs:M${_DIR}) +.if ${_DIR} == ".WAIT" || (empty(_generic_libs:M${_DIR}) && exists(${.CURDIR}/${_DIR}/Makefile)) _generic_libs+= ${_DIR} .endif .endfor Modified: user/jeff/numa/ObsoleteFiles.inc ============================================================================== --- user/jeff/numa/ObsoleteFiles.inc Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/ObsoleteFiles.inc Wed Jan 3 01:19:18 2018 (r327508) @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20171230: Remove /etc/skel from mtree +OLD_DIRS+=/etc/skel # 20171208: Remove basename_r(3) OLD_FILES+=usr/share/man/man3/basename_r.3.gz # 20171204: Move fdformat man page from volume 1 to volume 8. Modified: user/jeff/numa/UPDATING ============================================================================== --- user/jeff/numa/UPDATING Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/UPDATING Wed Jan 3 01:19:18 2018 (r327508) @@ -58,7 +58,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW: 20171214: r362593 broke ZFS + GELI support for reasons unknown. However, it also broke ZFS support generally, so GELI has been turned off - by default as the lessor evil in r326857. If you boot off ZFS and/or + by default as the lesser evil in r326857. If you boot off ZFS and/or GELI, it might not be a good time to update. 20171125: @@ -280,7 +280,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW: full procedure documented below under the heading "To rebuild everything and install it on the current system." Specifically, a reboot is required after installing the new kernel before - installing world. + installing world. 20170424: The NATM framework including the en(4), fatm(4), hatm(4), and @@ -821,7 +821,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW: 20150623: An additional fix for the issue described in the 20150614 sendmail - entry below has been been committed in revision 284717. + entry below has been committed in revision 284717. 20150616: FreeBSD's old make (fmake) has been removed from the system. It is @@ -829,7 +829,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW: 20150615: The fix for the issue described in the 20150614 sendmail entry - below has been been committed in revision 284436. The work + below has been committed in revision 284436. The work around described in that entry is no longer needed unless the default setting is overridden by a confDH_PARAMETERS configuration setting of '5' or pointing to a 512 bit DH parameter file. Modified: user/jeff/numa/bin/pax/buf_subs.c ============================================================================== --- user/jeff/numa/bin/pax/buf_subs.c Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/bin/pax/buf_subs.c Wed Jan 3 01:19:18 2018 (r327508) @@ -485,7 +485,7 @@ wr_rdbuf(char *out, int outcnt) int cnt; /* - * while there is data to copy copy into the write buffer. when the + * while there is data to copy into the write buffer. when the * write buffer fills, flush it to the archive and continue */ while (outcnt > 0) { Modified: user/jeff/numa/bin/sh/eval.c ============================================================================== --- user/jeff/numa/bin/sh/eval.c Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/bin/sh/eval.c Wed Jan 3 01:19:18 2018 (r327508) @@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include /* For WIFSIGNALED(status) */ #include /* @@ -840,7 +839,7 @@ evalcommand(union node *cmd, int flags, struct backcmd struct parsefile *savetopfile; volatile int e; char *lastarg; - int realstatus; + int signaled; int do_clearcmdentry; const char *path = pathval(); int i; @@ -1163,9 +1162,9 @@ cmddone: parent: /* parent process gets here (if we forked) */ if (mode == FORK_FG) { /* argument to fork */ INTOFF; - exitstatus = waitforjob(jp, &realstatus); + exitstatus = waitforjob(jp, &signaled); INTON; - if (iflag && loopnest > 0 && WIFSIGNALED(realstatus)) { + if (iflag && loopnest > 0 && signaled) { evalskip = SKIPBREAK; skipcount = loopnest; } Modified: user/jeff/numa/bin/sh/jobs.c ============================================================================== --- user/jeff/numa/bin/sh/jobs.c Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/bin/sh/jobs.c Wed Jan 3 01:19:18 2018 (r327508) @@ -75,6 +75,42 @@ __FBSDID("$FreeBSD$"); #include "builtins.h" +/* + * A job structure contains information about a job. A job is either a + * single process or a set of processes contained in a pipeline. In the + * latter case, pidlist will be non-NULL, and will point to a -1 terminated + * array of pids. + */ + +struct procstat { + pid_t pid; /* process id */ + int status; /* status flags (defined above) */ + char *cmd; /* text of command being run */ +}; + + +/* states */ +#define JOBSTOPPED 1 /* all procs are stopped */ +#define JOBDONE 2 /* all procs are completed */ + + +struct job { + struct procstat ps0; /* status of process */ + struct procstat *ps; /* status or processes when more than one */ + short nprocs; /* number of processes */ + pid_t pgrp; /* process group of this job */ + char state; /* true if job is finished */ + char used; /* true if this entry is in used */ + char changed; /* true if status has changed */ + char foreground; /* true if running in the foreground */ + char remembered; /* true if $! referenced */ +#if JOBS + char jobctl; /* job running under job control */ + struct job *next; /* job used after this one */ +#endif +}; + + static struct job *jobtab; /* array of jobs */ static int njobs; /* size of array */ static pid_t backgndpid = -1; /* pid of last background process */ @@ -1016,7 +1052,7 @@ vforkexecshell(struct job *jp, char **argv, char **env */ int -waitforjob(struct job *jp, int *origstatus) +waitforjob(struct job *jp, int *signaled) { #if JOBS int propagate_int = jp->jobctl && jp->foreground; @@ -1039,8 +1075,8 @@ waitforjob(struct job *jp, int *origstatus) setcurjob(jp); #endif status = jp->ps[jp->nprocs - 1].status; - if (origstatus != NULL) - *origstatus = status; + if (signaled != NULL) + *signaled = WIFSIGNALED(status); /* convert to 8 bits */ if (WIFEXITED(status)) st = WEXITSTATUS(status); Modified: user/jeff/numa/bin/sh/jobs.h ============================================================================== --- user/jeff/numa/bin/sh/jobs.h Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/bin/sh/jobs.h Wed Jan 3 01:19:18 2018 (r327508) @@ -40,40 +40,7 @@ #include /* for sig_atomic_t */ -/* - * A job structure contains information about a job. A job is either a - * single process or a set of processes contained in a pipeline. In the - * latter case, pidlist will be non-NULL, and will point to a -1 terminated - * array of pids. - */ - -struct procstat { - pid_t pid; /* process id */ - int status; /* status flags (defined above) */ - char *cmd; /* text of command being run */ -}; - - -/* states */ -#define JOBSTOPPED 1 /* all procs are stopped */ -#define JOBDONE 2 /* all procs are completed */ - - -struct job { - struct procstat ps0; /* status of process */ - struct procstat *ps; /* status or processes when more than one */ - short nprocs; /* number of processes */ - pid_t pgrp; /* process group of this job */ - char state; /* true if job is finished */ - char used; /* true if this entry is in used */ - char changed; /* true if status has changed */ - char foreground; /* true if running in the foreground */ - char remembered; /* true if $! referenced */ -#if JOBS - char jobctl; /* job running under job control */ - struct job *next; /* job used after this one */ -#endif -}; +struct job; enum { SHOWJOBS_DEFAULT, /* job number, status, command */ Modified: user/jeff/numa/bin/sh/sh.1 ============================================================================== --- user/jeff/numa/bin/sh/sh.1 Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/bin/sh/sh.1 Wed Jan 3 01:19:18 2018 (r327508) @@ -343,7 +343,7 @@ Write each command variable subjected to parameter expansion and arithmetic expansion) to standard error before it is executed. Useful for debugging. -.It nolog +.It Li nolog Another do-nothing option for .Tn POSIX compliance. @@ -2739,7 +2739,7 @@ were a known job that exited with exit status 127. If no operands are given, wait for all jobs to complete and return an exit status of zero. .El -.Ss Commandline Editing +.Ss Command Line Editing When .Nm is being used interactively from a terminal, the current command Modified: user/jeff/numa/bin/sh/tests/builtins/var-assign.0 ============================================================================== --- user/jeff/numa/bin/sh/tests/builtins/var-assign.0 Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/bin/sh/tests/builtins/var-assign.0 Wed Jan 3 01:19:18 2018 (r327508) @@ -47,7 +47,7 @@ do ${SH} -c "VAR=1; VAR=0 ${cmd}; exit \${VAR}" >/dev/null 2>&1 done -# For other built-ins and utilites they do not. +# For other built-ins and utilities they do not. set -- ${UTILS} for cmd in "$@" do Modified: user/jeff/numa/contrib/binutils/bfd/elflink.c ============================================================================== --- user/jeff/numa/contrib/binutils/bfd/elflink.c Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/contrib/binutils/bfd/elflink.c Wed Jan 3 01:19:18 2018 (r327508) @@ -4815,7 +4815,7 @@ _bfd_elf_archive_symbol_lookup (bfd *abfd, len = strlen (name); copy = bfd_alloc (abfd, len); if (copy == NULL) - return (struct elf_link_hash_entry *) 0 - 1; + return (struct elf_link_hash_entry *)(intptr_t)-1; first = p - name + 1; memcpy (copy, name, first); @@ -4927,7 +4927,7 @@ elf_link_add_archive_symbols (bfd *abfd, struct bfd_li } h = archive_symbol_lookup (abfd, info, symdef->name); - if (h == (struct elf_link_hash_entry *) 0 - 1) + if (h == (struct elf_link_hash_entry *)(intptr_t)-1) goto error_return; if (h == NULL) Modified: user/jeff/numa/contrib/binutils/include/obstack.h ============================================================================== --- user/jeff/numa/contrib/binutils/include/obstack.h Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/contrib/binutils/include/obstack.h Wed Jan 3 01:19:18 2018 (r327508) @@ -119,11 +119,11 @@ extern "C" { may ignore the byte-within-word field of the pointer. */ #ifndef __PTR_TO_INT -# define __PTR_TO_INT(P) ((P) - (char *) 0) +# define __PTR_TO_INT(P) ((intptr_t)(P)) #endif #ifndef __INT_TO_PTR -# define __INT_TO_PTR(P) ((P) + (char *) 0) +# define __INT_TO_PTR(P) ((void*)(intptr_t)(P)) #endif /* We need the type of the resulting object. If __PTRDIFF_TYPE__ is @@ -427,7 +427,7 @@ __extension__ \ __o1->maybe_empty_object = 1; \ __o1->next_free \ = __INT_TO_PTR ((__PTR_TO_INT (__o1->next_free)+__o1->alignment_mask)\ - & ~ (__o1->alignment_mask)); \ + & ~(intptr_t)(__o1->alignment_mask)); \ if (__o1->next_free - (char *)__o1->chunk \ > __o1->chunk_limit - (char *)__o1->chunk) \ __o1->next_free = __o1->chunk_limit; \ Modified: user/jeff/numa/contrib/elftoolchain/elfcopy/binary.c ============================================================================== --- user/jeff/numa/contrib/elftoolchain/elfcopy/binary.c Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/contrib/elftoolchain/elfcopy/binary.c Wed Jan 3 01:19:18 2018 (r327508) @@ -101,10 +101,10 @@ create_binary(int ifd, int ofd) sh.sh_size == 0) continue; (void) elf_errno(); - if ((d = elf_getdata(scn, NULL)) == NULL) { + if ((d = elf_rawdata(scn, NULL)) == NULL) { elferr = elf_errno(); if (elferr != 0) - warnx("elf_getdata failed: %s", elf_errmsg(-1)); + warnx("elf_rawdata failed: %s", elf_errmsg(-1)); continue; } if (d->d_buf == NULL || d->d_size == 0) Modified: user/jeff/numa/contrib/elftoolchain/readelf/readelf.c ============================================================================== --- user/jeff/numa/contrib/elftoolchain/readelf/readelf.c Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/contrib/elftoolchain/readelf/readelf.c Wed Jan 3 01:19:18 2018 (r327508) @@ -2753,6 +2753,7 @@ dump_dyn_val(struct readelf *re, GElf_Dyn *dyn, uint32 case DT_SYMENT: case DT_RELSZ: case DT_RELENT: + case DT_PREINIT_ARRAYSZ: case DT_INIT_ARRAYSZ: case DT_FINI_ARRAYSZ: case DT_GNU_CONFLICTSZ: Modified: user/jeff/numa/contrib/llvm/lib/Target/BPF/BPFISelLowering.cpp ============================================================================== --- user/jeff/numa/contrib/llvm/lib/Target/BPF/BPFISelLowering.cpp Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/contrib/llvm/lib/Target/BPF/BPFISelLowering.cpp Wed Jan 3 01:19:18 2018 (r327508) @@ -578,11 +578,15 @@ BPFTargetLowering::EmitInstrWithCustomInserter(Machine .addReg(LHS) .addReg(MI.getOperand(2).getReg()) .addMBB(Copy1MBB); - else + else { + int64_t imm32 = MI.getOperand(2).getImm(); + // sanity check before we build J*_ri instruction. + assert (isInt<32>(imm32)); BuildMI(BB, DL, TII.get(NewCC)) .addReg(LHS) - .addImm(MI.getOperand(2).getImm()) + .addImm(imm32) .addMBB(Copy1MBB); + } // Copy0MBB: // %FalseValue = ... Modified: user/jeff/numa/contrib/llvm/lib/Target/BPF/BPFInstrInfo.td ============================================================================== --- user/jeff/numa/contrib/llvm/lib/Target/BPF/BPFInstrInfo.td Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/contrib/llvm/lib/Target/BPF/BPFInstrInfo.td Wed Jan 3 01:19:18 2018 (r327508) @@ -464,7 +464,7 @@ let usesCustomInserter = 1 in { (ins GPR:$lhs, i64imm:$rhs, i64imm:$imm, GPR:$src, GPR:$src2), "# Select PSEUDO $dst = $lhs $imm $rhs ? $src : $src2", [(set i64:$dst, - (BPFselectcc i64:$lhs, (i64 imm:$rhs), (i64 imm:$imm), i64:$src, i64:$src2))]>; + (BPFselectcc i64:$lhs, (i64 i64immSExt32:$rhs), (i64 imm:$imm), i64:$src, i64:$src2))]>; } // load 64-bit global addr into register Modified: user/jeff/numa/contrib/llvm/lib/Transforms/Scalar/NewGVN.cpp ============================================================================== --- user/jeff/numa/contrib/llvm/lib/Transforms/Scalar/NewGVN.cpp Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/contrib/llvm/lib/Transforms/Scalar/NewGVN.cpp Wed Jan 3 01:19:18 2018 (r327508) @@ -586,8 +586,8 @@ class NewGVN { (public) private: // Expression handling. const Expression *createExpression(Instruction *) const; - const Expression *createBinaryExpression(unsigned, Type *, Value *, - Value *) const; + const Expression *createBinaryExpression(unsigned, Type *, Value *, Value *, + Instruction *) const; PHIExpression *createPHIExpression(Instruction *, bool &HasBackEdge, bool &OriginalOpsConstant) const; const DeadExpression *createDeadExpression() const; @@ -902,8 +902,8 @@ bool NewGVN::setBasicExpressionInfo(Instruction *I, Ba } const Expression *NewGVN::createBinaryExpression(unsigned Opcode, Type *T, - Value *Arg1, - Value *Arg2) const { + Value *Arg1, Value *Arg2, + Instruction *I) const { auto *E = new (ExpressionAllocator) BasicExpression(2); E->setType(T); @@ -921,7 +921,7 @@ const Expression *NewGVN::createBinaryExpression(unsig E->op_push_back(lookupOperandLeader(Arg2)); Value *V = SimplifyBinOp(Opcode, E->getOperand(0), E->getOperand(1), SQ); - if (const Expression *SimplifiedE = checkSimplificationResults(E, nullptr, V)) + if (const Expression *SimplifiedE = checkSimplificationResults(E, I, V)) return SimplifiedE; return E; } @@ -1699,8 +1699,9 @@ NewGVN::performSymbolicAggrValueEvaluation(Instruction // expression. assert(II->getNumArgOperands() == 2 && "Expect two args for recognised intrinsics."); - return createBinaryExpression( - Opcode, EI->getType(), II->getArgOperand(0), II->getArgOperand(1)); + return createBinaryExpression(Opcode, EI->getType(), + II->getArgOperand(0), + II->getArgOperand(1), I); } } } @@ -1933,6 +1934,7 @@ void NewGVN::touchAndErase(Map &M, const KeyType &Key) } void NewGVN::addAdditionalUsers(Value *To, Value *User) const { + assert(User && To != User); if (isa(To)) AdditionalUsers[To].insert(User); } Modified: user/jeff/numa/contrib/llvm/tools/clang/lib/Basic/Version.cpp ============================================================================== --- user/jeff/numa/contrib/llvm/tools/clang/lib/Basic/Version.cpp Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/contrib/llvm/tools/clang/lib/Basic/Version.cpp Wed Jan 3 01:19:18 2018 (r327508) @@ -36,7 +36,7 @@ std::string getClangRepositoryPath() { // If the SVN_REPOSITORY is empty, try to use the SVN keyword. This helps us // pick up a tag in an SVN export, for example. - StringRef SVNRepository("$URL: https://llvm.org/svn/llvm-project/cfe/branches/release_50/lib/Basic/Version.cpp $"); + StringRef SVNRepository("$URL: https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_501/final/lib/Basic/Version.cpp $"); if (URL.empty()) { URL = SVNRepository.slice(SVNRepository.find(':'), SVNRepository.find("/lib/Basic")); Modified: user/jeff/numa/contrib/llvm/tools/clang/lib/Sema/SemaDecl.cpp ============================================================================== --- user/jeff/numa/contrib/llvm/tools/clang/lib/Sema/SemaDecl.cpp Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/contrib/llvm/tools/clang/lib/Sema/SemaDecl.cpp Wed Jan 3 01:19:18 2018 (r327508) @@ -1603,7 +1603,24 @@ static bool ShouldDiagnoseUnusedDecl(const NamedDecl * if (D->isInvalidDecl()) return false; - if (D->isReferenced() || D->isUsed() || D->hasAttr() || + bool Referenced = false; + if (auto *DD = dyn_cast(D)) { + // For a decomposition declaration, warn if none of the bindings are + // referenced, instead of if the variable itself is referenced (which + // it is, by the bindings' expressions). + for (auto *BD : DD->bindings()) { + if (BD->isReferenced()) { + Referenced = true; + break; + } + } + } else if (!D->getDeclName()) { + return false; + } else if (D->isReferenced() || D->isUsed()) { + Referenced = true; + } + + if (Referenced || D->hasAttr() || D->hasAttr()) return false; @@ -1726,7 +1743,7 @@ void Sema::DiagnoseUnusedDecl(const NamedDecl *D) { else DiagID = diag::warn_unused_variable; - Diag(D->getLocation(), DiagID) << D->getDeclName() << Hint; + Diag(D->getLocation(), DiagID) << D << Hint; } static void CheckPoppedLabel(LabelDecl *L, Sema &S) { @@ -1756,8 +1773,6 @@ void Sema::ActOnPopScope(SourceLocation Loc, Scope *S) assert(isa(TmpD) && "Decl isn't NamedDecl?"); NamedDecl *D = cast(TmpD); - if (!D->getDeclName()) continue; - // Diagnose unused variables in this scope. if (!S->hasUnrecoverableErrorOccurred()) { DiagnoseUnusedDecl(D); @@ -1765,6 +1780,8 @@ void Sema::ActOnPopScope(SourceLocation Loc, Scope *S) DiagnoseUnusedNestedTypedefs(RD); } + if (!D->getDeclName()) continue; + // If this was a forward reference to a label, verify it was defined. if (LabelDecl *LD = dyn_cast(D)) CheckPoppedLabel(LD, *this); @@ -6155,7 +6172,6 @@ NamedDecl *Sema::ActOnVariableDeclarator( IdentifierInfo *II = Name.getAsIdentifierInfo(); if (D.isDecompositionDeclarator()) { - AddToScope = false; // Take the name of the first declarator as our name for diagnostic // purposes. auto &Decomp = D.getDecompositionDeclarator(); Modified: user/jeff/numa/contrib/llvm/tools/clang/lib/Sema/SemaDeclCXX.cpp ============================================================================== --- user/jeff/numa/contrib/llvm/tools/clang/lib/Sema/SemaDeclCXX.cpp Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/contrib/llvm/tools/clang/lib/Sema/SemaDeclCXX.cpp Wed Jan 3 01:19:18 2018 (r327508) @@ -826,7 +826,10 @@ Sema::ActOnDecompositionDeclarator(Scope *S, Declarato NamedDecl *New = ActOnVariableDeclarator(S, D, DC, TInfo, Previous, MultiTemplateParamsArg(), AddToScope, Bindings); - CurContext->addHiddenDecl(New); + if (AddToScope) { + S->AddDecl(New); + CurContext->addHiddenDecl(New); + } if (isInOpenMPDeclareTargetContext()) checkDeclIsAllowedInOpenMPTarget(nullptr, New); Modified: user/jeff/numa/contrib/llvm/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp ============================================================================== --- user/jeff/numa/contrib/llvm/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/contrib/llvm/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp Wed Jan 3 01:19:18 2018 (r327508) @@ -677,6 +677,7 @@ TemplateDeclInstantiator::VisitTypeAliasTemplateDecl(T Decl *TemplateDeclInstantiator::VisitBindingDecl(BindingDecl *D) { auto *NewBD = BindingDecl::Create(SemaRef.Context, Owner, D->getLocation(), D->getIdentifier()); + NewBD->setReferenced(D->isReferenced()); SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, NewBD); return NewBD; } Modified: user/jeff/numa/contrib/llvm/tools/lld/ELF/Relocations.cpp ============================================================================== --- user/jeff/numa/contrib/llvm/tools/lld/ELF/Relocations.cpp Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/contrib/llvm/tools/lld/ELF/Relocations.cpp Wed Jan 3 01:19:18 2018 (r327508) @@ -790,13 +790,31 @@ static void addGotEntry(SymbolBody &Sym, bool Preempti DynType = Target->GotRel; } - bool Constant = !Preemptible && (!Config->Pic || isAbsolute(Sym)); - if (!Constant) + // If a GOT slot value can be calculated at link-time, which is now, + // we can just fill that out. + // + // (We don't actually write a value to a GOT slot right now, but we + // add a static relocation to a Relocations vector so that + // InputSection::relocate will do the work for us. We may be able + // to just write a value now, but it is a TODO.) + bool IsLinkTimeConstant = !Preemptible && (!Config->Pic || isAbsolute(Sym)); + if (IsLinkTimeConstant) { + InX::Got->Relocations.push_back({Expr, DynType, Off, 0, &Sym}); + } else { + // Otherwise, we emit a dynamic relocation to .rel[a].dyn so that + // the GOT slot will be fixed at load-time. In::RelaDyn->addReloc( {DynType, InX::Got, Off, !Preemptible, &Sym, 0}); - if (Constant || (!Config->IsRela && !Preemptible)) - InX::Got->Relocations.push_back({Expr, DynType, Off, 0, &Sym}); + // REL type relocations don't have addend fields unlike RELAs, and + // their addends are stored to the section to which they are applied. + // So, store addends if we need to. + // + // This is ugly -- the difference between REL and RELA should be + // handled in a better way. It's a TODO. + if (!Config->IsRela && !Preemptible) + InX::Got->Relocations.push_back({R_ABS, Target->GotRel, Off, 0, &Sym}); + } } // The reason we have to do this early scan is as follows Modified: user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ArchHandler.h ============================================================================== --- user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ArchHandler.h Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ArchHandler.h Wed Jan 3 01:19:18 2018 (r327508) @@ -112,6 +112,10 @@ class ArchHandler { (public) /// info in final executables. virtual bool isLazyPointer(const Reference &); + /// Reference from an __stub_helper entry to the required offset of the + /// lazy bind commands. + virtual Reference::KindValue lazyImmediateLocationKind() = 0; + /// Returns true if the specified relocation is paired to the next relocation. virtual bool isPairedReloc(const normalized::Relocation &) = 0; Modified: user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm.cpp ============================================================================== --- user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm.cpp Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm.cpp Wed Jan 3 01:19:18 2018 (r327508) @@ -67,6 +67,10 @@ class ArchHandler_arm : public ArchHandler { (public) return invalid; } + Reference::KindValue lazyImmediateLocationKind() override { + return lazyImmediateLocation; + } + Reference::KindValue pointerKind() override { return invalid; } Modified: user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp ============================================================================== --- user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp Wed Jan 3 01:19:18 2018 (r327508) @@ -127,6 +127,10 @@ class ArchHandler_arm64 : public ArchHandler { (public return pointer64; } + Reference::KindValue lazyImmediateLocationKind() override { + return lazyImmediateLocation; + } + uint32_t dwarfCompactUnwindType() override { return 0x03000000; } Modified: user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ArchHandler_x86.cpp ============================================================================== --- user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ArchHandler_x86.cpp Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ArchHandler_x86.cpp Wed Jan 3 01:19:18 2018 (r327508) @@ -70,6 +70,10 @@ class ArchHandler_x86 : public ArchHandler { (public) return delta32; } + Reference::KindValue lazyImmediateLocationKind() override { + return lazyImmediateLocation; + } + Reference::KindValue unwindRefToEhFrameKind() override { return invalid; } Modified: user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp ============================================================================== --- user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp Wed Jan 3 01:19:18 2018 (r327508) @@ -116,6 +116,10 @@ class ArchHandler_x86_64 : public ArchHandler { (publi return unwindFDEToFunction; } + Reference::KindValue lazyImmediateLocationKind() override { + return lazyImmediateLocation; + } + Reference::KindValue unwindRefToEhFrameKind() override { return unwindInfoToEhFrame; } Modified: user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp ============================================================================== --- user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp Wed Jan 3 01:19:18 2018 (r327508) @@ -172,6 +172,8 @@ class Util { (private) SymbolScope &symbolScope); void appendSection(SectionInfo *si, NormalizedFile &file); uint32_t sectionIndexForAtom(const Atom *atom); + void fixLazyReferenceImm(const DefinedAtom *atom, uint32_t offset, + NormalizedFile &file); typedef llvm::DenseMap AtomToIndex; struct AtomAndIndex { const Atom *atom; uint32_t index; SymbolScope scope; }; @@ -1423,6 +1425,8 @@ void Util::addRebaseAndBindingInfo(const lld::File &at uint8_t segmentIndex; uint64_t segmentStartAddr; + uint32_t offsetInBindInfo = 0; + for (SectionInfo *sect : _sectionInfos) { segIndexForSection(sect, segmentIndex, segmentStartAddr); for (const AtomInfo &info : sect->atomsAndOffsets) { @@ -1467,6 +1471,59 @@ void Util::addRebaseAndBindingInfo(const lld::File &at bind.symbolName = targ->name(); bind.addend = ref->addend(); nFile.lazyBindingInfo.push_back(bind); + + // Now that we know the segmentOffset and the ordinal attribute, + // we can fix the helper's code + + fixLazyReferenceImm(atom, offsetInBindInfo, nFile); + + // 5 bytes for opcodes + variable sizes (target name + \0 and offset + // encode's size) + offsetInBindInfo += + 6 + targ->name().size() + llvm::getULEB128Size(bind.segOffset); + if (bind.ordinal > BIND_IMMEDIATE_MASK) + offsetInBindInfo += llvm::getULEB128Size(bind.ordinal); + } + } + } + } +} + +void Util::fixLazyReferenceImm(const DefinedAtom *atom, uint32_t offset, + NormalizedFile &file) { + for (const auto &ref : *atom) { + const DefinedAtom *da = dyn_cast(ref->target()); + if (da == nullptr) + return; + + const Reference *helperRef = nullptr; + for (const Reference *hr : *da) { + if (hr->kindValue() == _archHandler.lazyImmediateLocationKind()) { + helperRef = hr; + break; + } + } + if (helperRef == nullptr) + continue; + + // TODO: maybe get the fixed atom content from _archHandler ? + for (SectionInfo *sectInfo : _sectionInfos) { + for (const AtomInfo &atomInfo : sectInfo->atomsAndOffsets) { + if (atomInfo.atom == helperRef->target()) { + auto sectionContent = + file.sections[sectInfo->normalizedSectionIndex].content; + uint8_t *rawb = + file.ownedAllocations.Allocate(sectionContent.size()); + llvm::MutableArrayRef newContent{rawb, + sectionContent.size()}; + std::copy(sectionContent.begin(), sectionContent.end(), + newContent.begin()); + llvm::support::ulittle32_t *loc = + reinterpret_cast( + &newContent[atomInfo.offsetInSection + + helperRef->offsetInAtom()]); + *loc = offset; + file.sections[sectInfo->normalizedSectionIndex].content = newContent; } } } Modified: user/jeff/numa/etc/devd/hyperv.conf ============================================================================== --- user/jeff/numa/etc/devd/hyperv.conf Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/etc/devd/hyperv.conf Wed Jan 3 01:19:18 2018 (r327508) @@ -39,39 +39,39 @@ notify 11 { # # How network VF works with hn(4) on Hyper-V in non-transparent mode: # -# - Each network VF has a cooresponding hn(4). -# - The network VF and the it's cooresponding hn(4) have the same hardware +# - Each network VF has a corresponding hn(4). +# - The network VF and the it's corresponding hn(4) have the same hardware # address. # - Once the network VF is up, e.g. ifconfig VF up: # o All of the transmission should go through the network VF. # o Most of the reception goes through the network VF. -# o Small amount of reception may go through the cooresponding hn(4). -# This reception will happen, even if the the cooresponding hn(4) is -# down. The cooresponding hn(4) will change the reception interface +# o Small amount of reception may go through the corresponding hn(4). +# This reception will happen, even if the corresponding hn(4) is +# down. The corresponding hn(4) will change the reception interface # to the network VF, so that network layer and application layer will # be tricked into thinking that these packets were received by the # network VF. -# o The cooresponding hn(4) pretends the physical link is down. +# o The corresponding hn(4) pretends the physical link is down. # - Once the network VF is down or detached: -# o All of the transmission should go through the cooresponding hn(4). -# o All of the reception goes through the cooresponding hn(4). -# o The cooresponding hn(4) fallbacks to the original physical link +# o All of the transmission should go through the corresponding hn(4). +# o All of the reception goes through the corresponding hn(4). +# o The corresponding hn(4) fallbacks to the original physical link # detection logic. # # All these features are mainly used to help live migration, during which # the network VF will be detached, while the network communication to the # VM must not be cut off. In order to reach this level of live migration # transparency, we use failover mode lagg(4) with the network VF and the -# cooresponding hn(4) attached to it. +# corresponding hn(4) attached to it. # # To ease user configuration for both network VF and non-network VF, the # lagg(4) will be created by the following rules, and the configuration -# of the cooresponding hn(4) will be applied to the lagg(4) automatically. +# of the corresponding hn(4) will be applied to the lagg(4) automatically. # # NOTE: # If live migration is not needed at all, the following rules could be # commented out, and the network VF interface could be used exclusively. -# Most often the cooresponding hn(4) could be completely ignored. +# Most often the corresponding hn(4) could be completely ignored. # # # Default workflow for the network VF bringup: Modified: user/jeff/numa/etc/mail/mailer.conf ============================================================================== --- user/jeff/numa/etc/mail/mailer.conf Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/etc/mail/mailer.conf Wed Jan 3 01:19:18 2018 (r327508) @@ -3,7 +3,6 @@ # Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail # sendmail /usr/libexec/sendmail/sendmail -send-mail /usr/libexec/sendmail/sendmail mailq /usr/libexec/sendmail/sendmail newaliases /usr/libexec/sendmail/sendmail hoststat /usr/libexec/sendmail/sendmail Modified: user/jeff/numa/etc/mtree/BSD.root.dist ============================================================================== --- user/jeff/numa/etc/mtree/BSD.root.dist Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/etc/mtree/BSD.root.dist Wed Jan 3 01:19:18 2018 (r327508) @@ -70,8 +70,6 @@ .. security .. - skel - .. ssh .. ssl Modified: user/jeff/numa/etc/mtree/BSD.tests.dist ============================================================================== --- user/jeff/numa/etc/mtree/BSD.tests.dist Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/etc/mtree/BSD.tests.dist Wed Jan 3 01:19:18 2018 (r327508) @@ -664,6 +664,8 @@ .. file2c .. + find + .. fold .. getconf Modified: user/jeff/numa/etc/portsnap.conf ============================================================================== --- user/jeff/numa/etc/portsnap.conf Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/etc/portsnap.conf Wed Jan 3 01:19:18 2018 (r327508) @@ -30,7 +30,6 @@ KEYPRINT=9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3 # REFUSE korean polish portuguese russian ukrainian vietnamese # List of INDEX files to build and the DESCRIBE file to use for each -#INDEX INDEX-9 DESCRIBE.9 #INDEX INDEX-10 DESCRIBE.10 #INDEX INDEX-11 DESCRIBE.11 INDEX INDEX-12 DESCRIBE.12 Modified: user/jeff/numa/etc/rc.d/ldconfig ============================================================================== --- user/jeff/numa/etc/rc.d/ldconfig Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/etc/rc.d/ldconfig Wed Jan 3 01:19:18 2018 (r327508) @@ -63,7 +63,7 @@ ldconfig_start() esac case `sysctl -n hw.machine_arch` in - armv6) + armv[67]) for i in ${ldconfig_localsoft_dirs}; do if [ -d "${i}" ]; then _files=`find ${i} -type f` Modified: user/jeff/numa/etc/rc.initdiskless ============================================================================== --- user/jeff/numa/etc/rc.initdiskless Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/etc/rc.initdiskless Wed Jan 3 01:19:18 2018 (r327508) @@ -67,7 +67,7 @@ # /conf/T/M/remount # The contents of the file is a mount command. E.g. if # /conf/1.2.3.4/foo/remount contains "mount -o ro /dev/ad0s3", -# then /dev/ad0s3 will be be mounted on /conf/1.2.3.4/foo/ +# then /dev/ad0s3 will be mounted on /conf/1.2.3.4/foo/ # # /conf/T/M/remount_optional # If this file exists, then failure to execute the mount Modified: user/jeff/numa/etc/rc.subr ============================================================================== --- user/jeff/numa/etc/rc.subr Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/etc/rc.subr Wed Jan 3 01:19:18 2018 (r327508) @@ -1542,7 +1542,7 @@ debug() # is created. # # update `file' has changed and needs to be backed up. -# If `cur' exists, it is copied to to `back' +# If `cur' exists, it is copied to `back' # and then `file' is copied to `cur'. # # remove `file' is no longer being tracked by the backups Modified: user/jeff/numa/etc/services ============================================================================== --- user/jeff/numa/etc/services Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/etc/services Wed Jan 3 01:19:18 2018 (r327508) @@ -2291,6 +2291,7 @@ ipfix 4739/udp #IP Flow Info Export ipfixs 4740/sctp #ipfix protocol over DTLS ipfixs 4740/tcp #ipfix protocol over TLS ipfixs 4740/udp #ipfix protocol over DTLS +vxlan 4789/udp #Virtual eXtensible Local Area Network (VXLAN) commplex-main 5000/tcp commplex-main 5000/udp commplex-link 5001/tcp Modified: user/jeff/numa/include/stdlib.h ============================================================================== --- user/jeff/numa/include/stdlib.h Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/include/stdlib.h Wed Jan 3 01:19:18 2018 (r327508) @@ -274,6 +274,7 @@ int cgetstr(char *, const char *, char **); int cgetustr(char *, const char *, char **); int daemon(int, int); +int daemonfd(int, int); char *devname(__dev_t, __mode_t); char *devname_r(__dev_t, __mode_t, char *, int); char *fdevname(int); Modified: user/jeff/numa/lib/clang/include/clang/Basic/Version.inc ============================================================================== --- user/jeff/numa/lib/clang/include/clang/Basic/Version.inc Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/lib/clang/include/clang/Basic/Version.inc Wed Jan 3 01:19:18 2018 (r327508) @@ -8,4 +8,4 @@ #define CLANG_VENDOR "FreeBSD " -#define SVN_REVISION "319231" +#define SVN_REVISION "320880" Modified: user/jeff/numa/lib/clang/include/lld/Config/Version.inc ============================================================================== --- user/jeff/numa/lib/clang/include/lld/Config/Version.inc Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/lib/clang/include/lld/Config/Version.inc Wed Jan 3 01:19:18 2018 (r327508) @@ -4,5 +4,5 @@ #define LLD_VERSION_STRING "5.0.1" #define LLD_VERSION_MAJOR 5 #define LLD_VERSION_MINOR 0 -#define LLD_REVISION_STRING "319231" +#define LLD_REVISION_STRING "320880" #define LLD_REPOSITORY_STRING "FreeBSD" Modified: user/jeff/numa/lib/clang/include/llvm/Support/VCSRevision.h ============================================================================== --- user/jeff/numa/lib/clang/include/llvm/Support/VCSRevision.h Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/lib/clang/include/llvm/Support/VCSRevision.h Wed Jan 3 01:19:18 2018 (r327508) @@ -1,2 +1,2 @@ /* $FreeBSD$ */ -#define LLVM_REVISION "svn-r319231" +#define LLVM_REVISION "svn-r320880" Modified: user/jeff/numa/lib/libc/gen/Symbol.map ============================================================================== --- user/jeff/numa/lib/libc/gen/Symbol.map Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/lib/libc/gen/Symbol.map Wed Jan 3 01:19:18 2018 (r327508) @@ -394,6 +394,7 @@ FBSD_1.4 { FBSD_1.5 { alphasort; basename; + daemonfd; devname; devname_r; dirname; Modified: user/jeff/numa/lib/libc/gen/daemon.3 ============================================================================== --- user/jeff/numa/lib/libc/gen/daemon.3 Wed Jan 3 01:00:47 2018 (r327507) +++ user/jeff/numa/lib/libc/gen/daemon.3 Wed Jan 3 01:19:18 2018 (r327508) @@ -28,7 +28,7 @@ .\" @(#)daemon.3 8.1 (Berkeley) 6/9/93 .\" $FreeBSD$ .\" -.Dd June 9, 1993 +.Dd December 23, 2017 .Dt DAEMON 3 .Os .Sh NAME @@ -40,6 +40,8 @@ .In stdlib.h .Ft int .Fn daemon "int nochdir" "int noclose" +.Ft int +.Fn daemonfd "int chdirfd" "int nullfd" .Sh DESCRIPTION The .Fn daemon @@ -59,15 +61,39 @@ is non-zero, .Fn daemon will redirect standard input, standard output, and standard error to .Pa /dev/null . +.Pp +The +.Fn daemonfd +function is equivalent to the +.Fn daemon +function except that arguments are the descriptors for the current working +directory and to the descriptor to +.Pa /dev/null . +.Pp +If +.Fa chdirfd +is equal to +.Pq -1 +the current working directory is not changed. +.Pp +If +.Fa nullfd +is equals to +.Pq -1 +the redirection of standard input, standard output, and standard error is not +closed. .Sh RETURN VALUES -.Rv -std daemon +.Rv -std daemon daemonfd .Sh ERRORS The .Fn daemon +and +.Fn daemonfd function may fail and set .Va errno for any of the errors specified for the library functions .Xr fork 2 +.Xr open 2, and .Xr setsid 2 . .Sh SEE ALSO @@ -79,6 +105,10 @@ The .Fn daemon function first appeared in .Bx 4.4 . +The +.Fn daemonfd +function first appeared in +.Fx 12.0 . .Sh CAVEATS *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-user@freebsd.org Wed Jan 3 01:47:35 2018 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA18BEA2BFC for ; Wed, 3 Jan 2018 01:47:35 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 84F2D7D642; Wed, 3 Jan 2018 01:47:35 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w031lYhO080268; Wed, 3 Jan 2018 01:47:34 GMT (envelope-from jeff@FreeBSD.org) Received: (from jeff@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w031lYW3080267; Wed, 3 Jan 2018 01:47:34 GMT (envelope-from jeff@FreeBSD.org) Message-Id: <201801030147.w031lYW3080267@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jeff set sender to jeff@FreeBSD.org using -f From: Jeff Roberson Date: Wed, 3 Jan 2018 01:47:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r327509 - user/jeff/numa/sys/vm X-SVN-Group: user X-SVN-Commit-Author: jeff X-SVN-Commit-Paths: user/jeff/numa/sys/vm X-SVN-Commit-Revision: 327509 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2018 01:47:35 -0000 Author: jeff Date: Wed Jan 3 01:47:34 2018 New Revision: 327509 URL: https://svnweb.freebsd.org/changeset/base/327509 Log: Don't run the match code when there are no domains Modified: user/jeff/numa/sys/vm/vm_phys.c Modified: user/jeff/numa/sys/vm/vm_phys.c ============================================================================== --- user/jeff/numa/sys/vm/vm_phys.c Wed Jan 3 01:19:18 2018 (r327508) +++ user/jeff/numa/sys/vm/vm_phys.c Wed Jan 3 01:47:34 2018 (r327509) @@ -204,6 +204,9 @@ vm_phys_domain_match(int prefer, vm_paddr_t low, vm_pa domainset_t mask; int i; + if (vm_ndomains == 1 || mem_affinity == NULL) + return (0); + DOMAINSET_ZERO(&mask); /* * Check for any memory that overlaps low, high. From owner-svn-src-user@freebsd.org Wed Jan 3 23:57:42 2018 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D3DBDEB644A for ; Wed, 3 Jan 2018 23:57:42 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9E89A6D068; Wed, 3 Jan 2018 23:57:42 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w03Nvf0a041538; Wed, 3 Jan 2018 23:57:41 GMT (envelope-from jeff@FreeBSD.org) Received: (from jeff@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w03NvfrU041537; Wed, 3 Jan 2018 23:57:41 GMT (envelope-from jeff@FreeBSD.org) Message-Id: <201801032357.w03NvfrU041537@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jeff set sender to jeff@FreeBSD.org using -f From: Jeff Roberson Date: Wed, 3 Jan 2018 23:57:41 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r327531 - user/jeff/numa/sys/kern X-SVN-Group: user X-SVN-Commit-Author: jeff X-SVN-Commit-Paths: user/jeff/numa/sys/kern X-SVN-Commit-Revision: 327531 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2018 23:57:42 -0000 Author: jeff Date: Wed Jan 3 23:57:41 2018 New Revision: 327531 URL: https://svnweb.freebsd.org/changeset/base/327531 Log: Fix memguard compile. Modified: user/jeff/numa/sys/kern/kern_malloc.c Modified: user/jeff/numa/sys/kern/kern_malloc.c ============================================================================== --- user/jeff/numa/sys/kern/kern_malloc.c Wed Jan 3 20:20:43 2018 (r327530) +++ user/jeff/numa/sys/kern/kern_malloc.c Wed Jan 3 23:57:41 2018 (r327531) @@ -492,12 +492,10 @@ malloc_dbg(caddr_t *vap, unsigned long *sizep, struct ("malloc: called with spinlock or critical section held")); #ifdef DEBUG_MEMGUARD - if (memguard_cmp_mtp(mtp, size)) { - va = memguard_alloc(size, flags); - if (va != NULL) { - *vap = va; + if (memguard_cmp_mtp(mtp, *sizep)) { + *vap = memguard_alloc(*sizep, flags); + if (*vap != NULL) return (EJUSTRETURN); - } /* This is unfortunate but should not be fatal. */ } #endif From owner-svn-src-user@freebsd.org Wed Jan 3 23:58:15 2018 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3CA20EB6471 for ; Wed, 3 Jan 2018 23:58:15 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 074846D145; Wed, 3 Jan 2018 23:58:14 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w03NwE8d041599; Wed, 3 Jan 2018 23:58:14 GMT (envelope-from jeff@FreeBSD.org) Received: (from jeff@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w03NwESv041598; Wed, 3 Jan 2018 23:58:14 GMT (envelope-from jeff@FreeBSD.org) Message-Id: <201801032358.w03NwESv041598@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jeff set sender to jeff@FreeBSD.org using -f From: Jeff Roberson Date: Wed, 3 Jan 2018 23:58:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r327532 - user/jeff/numa/usr.bin/cpuset X-SVN-Group: user X-SVN-Commit-Author: jeff X-SVN-Commit-Paths: user/jeff/numa/usr.bin/cpuset X-SVN-Commit-Revision: 327532 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2018 23:58:15 -0000 Author: jeff Date: Wed Jan 3 23:58:13 2018 New Revision: 327532 URL: https://svnweb.freebsd.org/changeset/base/327532 Log: Gcc is not smart enough to see that policy is not used before initialization. Set a nonsense default value. Modified: user/jeff/numa/usr.bin/cpuset/cpuset.c Modified: user/jeff/numa/usr.bin/cpuset/cpuset.c ============================================================================== --- user/jeff/numa/usr.bin/cpuset/cpuset.c Wed Jan 3 23:57:41 2018 (r327531) +++ user/jeff/numa/usr.bin/cpuset/cpuset.c Wed Jan 3 23:58:13 2018 (r327532) @@ -292,6 +292,7 @@ main(int argc, char *argv[]) CPU_ZERO(&mask); DOMAINSET_ZERO(&domains); + policy = DOMAINSET_POLICY_INVALID; level = CPU_LEVEL_WHICH; which = CPU_WHICH_PID; id = pid = tid = setid = -1; From owner-svn-src-user@freebsd.org Wed Jan 3 23:59:31 2018 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20542EB64CD for ; Wed, 3 Jan 2018 23:59:31 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DFCA16D22D; Wed, 3 Jan 2018 23:59:30 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w03NxTUX041682; Wed, 3 Jan 2018 23:59:29 GMT (envelope-from jeff@FreeBSD.org) Received: (from jeff@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w03NxT7h041681; Wed, 3 Jan 2018 23:59:29 GMT (envelope-from jeff@FreeBSD.org) Message-Id: <201801032359.w03NxT7h041681@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jeff set sender to jeff@FreeBSD.org using -f From: Jeff Roberson Date: Wed, 3 Jan 2018 23:59:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r327533 - user/jeff/numa/sys/vm X-SVN-Group: user X-SVN-Commit-Author: jeff X-SVN-Commit-Paths: user/jeff/numa/sys/vm X-SVN-Commit-Revision: 327533 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2018 23:59:31 -0000 Author: jeff Date: Wed Jan 3 23:59:29 2018 New Revision: 327533 URL: https://svnweb.freebsd.org/changeset/base/327533 Log: Fix compile without VM_NUMA_ALLOC Modified: user/jeff/numa/sys/vm/vm_phys.c Modified: user/jeff/numa/sys/vm/vm_phys.c ============================================================================== --- user/jeff/numa/sys/vm/vm_phys.c Wed Jan 3 23:58:13 2018 (r327532) +++ user/jeff/numa/sys/vm/vm_phys.c Wed Jan 3 23:59:29 2018 (r327533) @@ -201,6 +201,7 @@ vm_phys_fictitious_cmp(struct vm_phys_fictitious_seg * int vm_phys_domain_match(int prefer, vm_paddr_t low, vm_paddr_t high) { +#ifdef VM_NUMA_ALLOC domainset_t mask; int i; @@ -220,6 +221,9 @@ vm_phys_domain_match(int prefer, vm_paddr_t low, vm_pa if (DOMAINSET_EMPTY(&mask)) panic("vm_phys_domain_match: Impossible constraint"); return (DOMAINSET_FFS(&mask) - 1); +#else + return (0); +#endif } /* From owner-svn-src-user@freebsd.org Thu Jan 4 00:02:49 2018 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AFCF4EB69BD for ; Thu, 4 Jan 2018 00:02:49 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2F74D6D6E4; Thu, 4 Jan 2018 00:02:49 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0402mAX045723; Thu, 4 Jan 2018 00:02:48 GMT (envelope-from jeff@FreeBSD.org) Received: (from jeff@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0402lSJ045718; Thu, 4 Jan 2018 00:02:47 GMT (envelope-from jeff@FreeBSD.org) Message-Id: <201801040002.w0402lSJ045718@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jeff set sender to jeff@FreeBSD.org using -f From: Jeff Roberson Date: Thu, 4 Jan 2018 00:02:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r327534 - in user/jeff/numa/sys: arm/arm ddb kern netpfil/ipfw sys X-SVN-Group: user X-SVN-Commit-Author: jeff X-SVN-Commit-Paths: in user/jeff/numa/sys: arm/arm ddb kern netpfil/ipfw sys X-SVN-Commit-Revision: 327534 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 00:02:49 -0000 Author: jeff Date: Thu Jan 4 00:02:47 2018 New Revision: 327534 URL: https://svnweb.freebsd.org/changeset/base/327534 Log: The inclusion of _vm_domain.h in proc.h created pollution from seq.h that many files now rely on. Fix a small number of these to remove seq.h, lock.h, and _vm_domain.h. Explicitly add systm.h, types.h and machine/cpu.h so the rest still compiles and the pollution is direct. Modified: user/jeff/numa/sys/arm/arm/machdep_ptrace.c user/jeff/numa/sys/ddb/db_run.c user/jeff/numa/sys/kern/subr_kdb.c user/jeff/numa/sys/netpfil/ipfw/dn_sched_fq_codel.c user/jeff/numa/sys/sys/proc.h Modified: user/jeff/numa/sys/arm/arm/machdep_ptrace.c ============================================================================== --- user/jeff/numa/sys/arm/arm/machdep_ptrace.c Wed Jan 3 23:59:29 2018 (r327533) +++ user/jeff/numa/sys/arm/arm/machdep_ptrace.c Thu Jan 4 00:02:47 2018 (r327534) @@ -32,6 +32,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include Modified: user/jeff/numa/sys/ddb/db_run.c ============================================================================== --- user/jeff/numa/sys/ddb/db_run.c Wed Jan 3 23:59:29 2018 (r327533) +++ user/jeff/numa/sys/ddb/db_run.c Thu Jan 4 00:02:47 2018 (r327534) @@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include Modified: user/jeff/numa/sys/kern/subr_kdb.c ============================================================================== --- user/jeff/numa/sys/kern/subr_kdb.c Wed Jan 3 23:59:29 2018 (r327533) +++ user/jeff/numa/sys/kern/subr_kdb.c Thu Jan 4 00:02:47 2018 (r327534) @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include Modified: user/jeff/numa/sys/netpfil/ipfw/dn_sched_fq_codel.c ============================================================================== --- user/jeff/numa/sys/netpfil/ipfw/dn_sched_fq_codel.c Wed Jan 3 23:59:29 2018 (r327533) +++ user/jeff/numa/sys/netpfil/ipfw/dn_sched_fq_codel.c Thu Jan 4 00:02:47 2018 (r327534) @@ -44,6 +44,7 @@ #include /* flow_id */ #include +#include #include #include Modified: user/jeff/numa/sys/sys/proc.h ============================================================================== --- user/jeff/numa/sys/sys/proc.h Wed Jan 3 23:59:29 2018 (r327533) +++ user/jeff/numa/sys/sys/proc.h Thu Jan 4 00:02:47 2018 (r327534) @@ -62,12 +62,17 @@ #include /* For structs itimerval, timeval. */ #else #include +#include #endif #include #include -#include +#include #include + #include /* Machine-dependent proc substruct. */ +#ifdef _KERNEL +#include +#endif /* @@ -181,6 +186,7 @@ struct procdesc; struct racct; struct sbuf; struct sleepqueue; +struct socket; struct syscall_args; struct td_sched; struct thread; From owner-svn-src-user@freebsd.org Thu Jan 4 00:36:54 2018 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A1D2EB7DDF for ; Thu, 4 Jan 2018 00:36:54 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D91796E5D0; Thu, 4 Jan 2018 00:36:53 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w040ar2s058087; Thu, 4 Jan 2018 00:36:53 GMT (envelope-from jeff@FreeBSD.org) Received: (from jeff@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w040arqU058086; Thu, 4 Jan 2018 00:36:53 GMT (envelope-from jeff@FreeBSD.org) Message-Id: <201801040036.w040arqU058086@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jeff set sender to jeff@FreeBSD.org using -f From: Jeff Roberson Date: Thu, 4 Jan 2018 00:36:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r327535 - user/jeff/numa/sys/vm X-SVN-Group: user X-SVN-Commit-Author: jeff X-SVN-Commit-Paths: user/jeff/numa/sys/vm X-SVN-Commit-Revision: 327535 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 00:36:54 -0000 Author: jeff Date: Thu Jan 4 00:36:52 2018 New Revision: 327535 URL: https://svnweb.freebsd.org/changeset/base/327535 Log: Use the correct terminiator for the mem_affinity iterator in vm_phys_domain_match Modified: user/jeff/numa/sys/vm/vm_phys.c Modified: user/jeff/numa/sys/vm/vm_phys.c ============================================================================== --- user/jeff/numa/sys/vm/vm_phys.c Thu Jan 4 00:02:47 2018 (r327534) +++ user/jeff/numa/sys/vm/vm_phys.c Thu Jan 4 00:36:52 2018 (r327535) @@ -212,7 +212,7 @@ vm_phys_domain_match(int prefer, vm_paddr_t low, vm_pa /* * Check for any memory that overlaps low, high. */ - for (i = 0; i < vm_ndomains; i++) + for (i = 0; mem_affinity[i].end != 0; i++) if (mem_affinity[i].start <= high && mem_affinity[i].end >= low) DOMAINSET_SET(mem_affinity[i].domain, &mask); From owner-svn-src-user@freebsd.org Thu Jan 4 13:47:02 2018 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 408F0EB5699 for ; Thu, 4 Jan 2018 13:47:02 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 190086A1DD; Thu, 4 Jan 2018 13:46:58 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w04DktVk001404; Thu, 4 Jan 2018 05:46:55 -0800 (PST) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w04DkroU001403; Thu, 4 Jan 2018 05:46:53 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <201801041346.w04DkroU001403@pdx.rh.CN85.dnsmgr.net> Subject: Re: svn commit: r327534 - in user/jeff/numa/sys: arm/arm ddb kern netpfil/ipfw sys In-Reply-To: <201801040002.w0402lSJ045718@repo.freebsd.org> To: Jeff Roberson Date: Thu, 4 Jan 2018 05:46:53 -0800 (PST) CC: src-committers@freebsd.org, svn-src-user@freebsd.org Reply-To: rgrimes@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 13:47:02 -0000 > Author: jeff > Date: Thu Jan 4 00:02:47 2018 > New Revision: 327534 > URL: https://svnweb.freebsd.org/changeset/base/327534 > > Log: > The inclusion of _vm_domain.h in proc.h created pollution from seq.h that > many files now rely on. Fix a small number of these to remove seq.h, lock.h, > and _vm_domain.h. Explicitly add systm.h, types.h and machine/cpu.h so the > rest still compiles and the pollution is direct. Wouldnt it be best to fix this in HEAD rather than have this come in as part of your NUMA changes? This is a generic issue, un related to the numa stuff. Just a thought, I know it is a merge conflict with your branch, but it also reduces the diff from your branch current. > > Modified: > user/jeff/numa/sys/arm/arm/machdep_ptrace.c > user/jeff/numa/sys/ddb/db_run.c > user/jeff/numa/sys/kern/subr_kdb.c > user/jeff/numa/sys/netpfil/ipfw/dn_sched_fq_codel.c > user/jeff/numa/sys/sys/proc.h > > Modified: user/jeff/numa/sys/arm/arm/machdep_ptrace.c > ============================================================================== > --- user/jeff/numa/sys/arm/arm/machdep_ptrace.c Wed Jan 3 23:59:29 2018 (r327533) > +++ user/jeff/numa/sys/arm/arm/machdep_ptrace.c Thu Jan 4 00:02:47 2018 (r327534) > @@ -32,6 +32,7 @@ __FBSDID("$FreeBSD$"); > #include > #include > #include > +#include > #include > > #include > > Modified: user/jeff/numa/sys/ddb/db_run.c > ============================================================================== > --- user/jeff/numa/sys/ddb/db_run.c Wed Jan 3 23:59:29 2018 (r327533) > +++ user/jeff/numa/sys/ddb/db_run.c Thu Jan 4 00:02:47 2018 (r327534) > @@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$"); > #include > #include > #include > +#include > > #include > #include > > Modified: user/jeff/numa/sys/kern/subr_kdb.c > ============================================================================== > --- user/jeff/numa/sys/kern/subr_kdb.c Wed Jan 3 23:59:29 2018 (r327533) > +++ user/jeff/numa/sys/kern/subr_kdb.c Thu Jan 4 00:02:47 2018 (r327534) > @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); > #include > #include > #include > +#include > #include > #include > #include > > Modified: user/jeff/numa/sys/netpfil/ipfw/dn_sched_fq_codel.c > ============================================================================== > --- user/jeff/numa/sys/netpfil/ipfw/dn_sched_fq_codel.c Wed Jan 3 23:59:29 2018 (r327533) > +++ user/jeff/numa/sys/netpfil/ipfw/dn_sched_fq_codel.c Thu Jan 4 00:02:47 2018 (r327534) > @@ -44,6 +44,7 @@ > #include /* flow_id */ > #include > > +#include > #include > #include > > > Modified: user/jeff/numa/sys/sys/proc.h > ============================================================================== > --- user/jeff/numa/sys/sys/proc.h Wed Jan 3 23:59:29 2018 (r327533) > +++ user/jeff/numa/sys/sys/proc.h Thu Jan 4 00:02:47 2018 (r327534) > @@ -62,12 +62,17 @@ > #include /* For structs itimerval, timeval. */ > #else > #include > +#include > #endif > #include > #include > -#include > +#include > #include > + > #include /* Machine-dependent proc substruct. */ > +#ifdef _KERNEL > +#include > +#endif > > > /* > @@ -181,6 +186,7 @@ struct procdesc; > struct racct; > struct sbuf; > struct sleepqueue; > +struct socket; > struct syscall_args; > struct td_sched; > struct thread; > > -- Rod Grimes rgrimes@freebsd.org