mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/ethernet/mediatek/mtk_eth_soc.c drivers/net/ethernet/qlogic/qed/qed_dcbx.c drivers/net/phy/Kconfig All conflicts were cases of overlapping commits. Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
commit
b20b378d49
473 changed files with 3789 additions and 2493 deletions
|
|
@ -1556,18 +1556,13 @@ static const struct file_operations proc_pid_set_comm_operations = {
|
|||
static int proc_exe_link(struct dentry *dentry, struct path *exe_path)
|
||||
{
|
||||
struct task_struct *task;
|
||||
struct mm_struct *mm;
|
||||
struct file *exe_file;
|
||||
|
||||
task = get_proc_task(d_inode(dentry));
|
||||
if (!task)
|
||||
return -ENOENT;
|
||||
mm = get_task_mm(task);
|
||||
exe_file = get_task_exe_file(task);
|
||||
put_task_struct(task);
|
||||
if (!mm)
|
||||
return -ENOENT;
|
||||
exe_file = get_mm_exe_file(mm);
|
||||
mmput(mm);
|
||||
if (exe_file) {
|
||||
*exe_path = exe_file->f_path;
|
||||
path_get(&exe_file->f_path);
|
||||
|
|
|
|||
|
|
@ -581,6 +581,8 @@ static void smaps_pmd_entry(pmd_t *pmd, unsigned long addr,
|
|||
mss->anonymous_thp += HPAGE_PMD_SIZE;
|
||||
else if (PageSwapBacked(page))
|
||||
mss->shmem_thp += HPAGE_PMD_SIZE;
|
||||
else if (is_zone_device_page(page))
|
||||
/* pass */;
|
||||
else
|
||||
VM_BUG_ON_PAGE(1, page);
|
||||
smaps_account(mss, page, true, pmd_young(*pmd), pmd_dirty(*pmd));
|
||||
|
|
|
|||
Loading…
Reference in a new issue