Make two style changes to create new commit and document proper commit
message for r185765. Noted by: rdivacky Requested by: des Commit message for r185765 should be: In procfs map handler, and in linprocfs maps handler, do not call vn_fullpath() while having vm map locked. This is done in anticipation of the vop_vptocnp commit, that would make vn_fullpath sometime acquire vnode lock. Also, in linprocfs, maps handler already acquires vnode lock. No objections from: des MFC after: 2 week
This commit is contained in:
parent
5a66e0259b
commit
9499cb83bf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=185766
@ -273,8 +273,7 @@ linprocfs_docpuinfo(PFS_FILL_ARGS)
|
||||
/* XXX per-cpu vendor / class / model / id? */
|
||||
}
|
||||
|
||||
sbuf_cat(sb,
|
||||
"flags\t\t:");
|
||||
sbuf_cat(sb, "flags\t\t:");
|
||||
|
||||
if (!strcmp(cpu_vendor, "AuthenticAMD") && (class < 6)) {
|
||||
flags[16] = "fcmov";
|
||||
|
@ -82,11 +82,11 @@ extern struct sysentvec ia32_freebsd_sysvec;
|
||||
int
|
||||
procfs_doprocmap(PFS_FILL_ARGS)
|
||||
{
|
||||
int error, vfslocked;
|
||||
vm_map_t map = &p->p_vmspace->vm_map;
|
||||
vm_map_entry_t entry, tmp_entry;
|
||||
struct vnode *vp;
|
||||
char *fullpath, *freepath;
|
||||
int error, vfslocked;
|
||||
unsigned int last_timestamp;
|
||||
#ifdef COMPAT_IA32
|
||||
int wrap32 = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user