search for: write_access

Displaying 17 results from an estimated 17 matches for "write_access".

2001 Aug 09
2
Debugging help: BUG: Assertion failure with ext3-0.95 for 2.4.7
...opy 0 Aug 9 17:57:39 boeaet34 kernel: <andle 1e83da40 going down Aug 9 17:57:39 boeaet34 kernel: 1069): journal_dnalget_write_accesfb0, force_copy 0 Aug 9 17:57:39 boeaet34 kernel: <7ead 1da28fb0, force_copy 0 Aug 9 17:57:39 boeaet34 kernel: 1069): journalnal_hget_write_accesfb0fb0, na bu_write_access: buffer_head 1de27ec0, force_copy 0 Aug 9 17:57:39 boeaet34 kernel: <wead 1dnal_head 1da28fwl_dirty_metadesean inode 8c, 1069): journlda40 give>(namei.c, 689)emovk will poead 1de27ec0, force_nal_head 1de27ec0 Aug 9 17:57:39 boeaet34 kernel: wead 1dnal_head 1da28write_access: buead 1de27ec0,...
2009 Feb 16
1
samba-3.2.8 - KRB5_KT_UNKNOWN_TYPE;
...uot;ads_keytab_add_entry: smb_krb5_open_keytab failed (%s)\n", error_message(ret))); goto out; } libsmb/clikrb5.c smb_krb5_open_keytab(krb5_context context, const char *keytab_name_req, bool write_access, krb5_keytab *keytab) ) /* we need to handle more complex keytab_strings, like: * "ANY:FILE:/etc/krb5.keytab,krb4:/etc/srvtab" */ ret = krb5_kt_default_name(context, &keytab_string[0], MAX_KEYTAB_NAME_LEN - 2);...
2007 Apr 18
0
[patch 6/9] Guest page hinting: writable page table entries.
...ge, vma->vm_page_prot); entry = maybe_mkwrite(pte_mkdirty(entry), vma); + page_check_writable(page, entry); page_table = pte_offset_map_lock(mm, pmd, address, &ptl); if (!pte_none(*page_table)) @@ -2268,6 +2272,7 @@ retry: entry = mk_pte(new_page, vma->vm_page_prot); if (write_access) entry = maybe_mkwrite(pte_mkdirty(entry), vma); + page_check_writable(new_page, entry); set_pte_at(mm, address, page_table, entry); if (anon) { inc_mm_counter(mm, anon_rss); diff -urpN linux-2.6/mm/mprotect.c linux-2.6-patched/mm/mprotect.c --- linux-2.6/mm/mprotect.c 2006-09-01 12:...
2007 Apr 18
0
[patch 6/9] Guest page hinting: writable page table entries.
...ge, vma->vm_page_prot); entry = maybe_mkwrite(pte_mkdirty(entry), vma); + page_check_writable(page, entry); page_table = pte_offset_map_lock(mm, pmd, address, &ptl); if (!pte_none(*page_table)) @@ -2268,6 +2272,7 @@ retry: entry = mk_pte(new_page, vma->vm_page_prot); if (write_access) entry = maybe_mkwrite(pte_mkdirty(entry), vma); + page_check_writable(new_page, entry); set_pte_at(mm, address, page_table, entry); if (anon) { inc_mm_counter(mm, anon_rss); diff -urpN linux-2.6/mm/mprotect.c linux-2.6-patched/mm/mprotect.c --- linux-2.6/mm/mprotect.c 2006-09-01 12:...
2007 Apr 18
2
[patch 4/9] Guest page hinting: volatile swap cache.
...nyway. */ diff -urpN linux-2.6/mm/memory.c linux-2.6-patched/mm/memory.c --- linux-2.6/mm/memory.c 2006-09-01 12:50:23.000000000 +0200 +++ linux-2.6-patched/mm/memory.c 2006-09-01 12:50:23.000000000 +0200 @@ -2064,8 +2064,16 @@ static int do_swap_page(struct mm_struct unlock_page(page); if (write_access) { - if (do_wp_page(mm, vma, address, - page_table, pmd, ptl, pte) == VM_FAULT_OOM) + int rc = do_wp_page(mm, vma, address, page_table, + pmd, ptl, pte); + if (page_host_discards() && rc == VM_FAULT_MAJOR) + /* + * A discard removed the page, and do_wp_page called + * p...
2007 Apr 18
2
[patch 4/9] Guest page hinting: volatile swap cache.
...nyway. */ diff -urpN linux-2.6/mm/memory.c linux-2.6-patched/mm/memory.c --- linux-2.6/mm/memory.c 2006-09-01 12:50:23.000000000 +0200 +++ linux-2.6-patched/mm/memory.c 2006-09-01 12:50:23.000000000 +0200 @@ -2064,8 +2064,16 @@ static int do_swap_page(struct mm_struct unlock_page(page); if (write_access) { - if (do_wp_page(mm, vma, address, - page_table, pmd, ptl, pte) == VM_FAULT_OOM) + int rc = do_wp_page(mm, vma, address, page_table, + pmd, ptl, pte); + if (page_host_discards() && rc == VM_FAULT_MAJOR) + /* + * A discard removed the page, and do_wp_page called + * p...
2007 Apr 18
0
[patch 7/9] Guest page hinting: minor fault optimization.
...y go through if we didn't race with anybody else... */ - if (pte_none(*page_table)) { + if (pte_none(*page_table) && + !unlikely(page_host_discards() && PageDiscarded(new_page))) { flush_icache_page(vma, new_page); entry = mk_pte(new_page, vma->vm_page_prot); if (write_access) diff -urpN linux-2.6/mm/rmap.c linux-2.6-patched/mm/rmap.c --- linux-2.6/mm/rmap.c 2006-09-01 12:50:25.000000000 +0200 +++ linux-2.6-patched/mm/rmap.c 2006-09-01 12:50:25.000000000 +0200 @@ -537,7 +537,6 @@ void page_add_anon_rmap(struct page *pag if (atomic_inc_and_test(&page->_mapcount)...
2007 Apr 18
0
[patch 7/9] Guest page hinting: minor fault optimization.
...y go through if we didn't race with anybody else... */ - if (pte_none(*page_table)) { + if (pte_none(*page_table) && + !unlikely(page_host_discards() && PageDiscarded(new_page))) { flush_icache_page(vma, new_page); entry = mk_pte(new_page, vma->vm_page_prot); if (write_access) diff -urpN linux-2.6/mm/rmap.c linux-2.6-patched/mm/rmap.c --- linux-2.6/mm/rmap.c 2006-09-01 12:50:25.000000000 +0200 +++ linux-2.6-patched/mm/rmap.c 2006-09-01 12:50:25.000000000 +0200 @@ -537,7 +537,6 @@ void page_add_anon_rmap(struct page *pag if (atomic_inc_and_test(&page->_mapcount)...
2006 Mar 14
12
[RFC] VMI for Xen?
I''m sure everyone has seen the drop of VMI patches for Linux at this point, but just in case, the link is included below. I''ve read this version of the VMI spec and have made my way through most of the patches. While I wasn''t really that impressed with the first spec wrt Xen, the second version seems to be much more palatable. Specifically, the code inlining and
2007 Apr 18
4
[patch 3/9] Guest page hinting: volatile page cache.
...e_pte_fault(struc pte_t entry; pte_t old_entry; spinlock_t *ptl; + int rc; +again: old_entry = entry = *pte; if (!pte_present(entry)) { if (pte_none(entry)) { @@ -2343,9 +2376,16 @@ static inline int handle_pte_fault(struc if (unlikely(!pte_same(*pte, entry))) goto unlock; if (write_access) { - if (!pte_write(entry)) - return do_wp_page(mm, vma, address, + if (!pte_write(entry)) { + rc = do_wp_page(mm, vma, address, pte, pmd, ptl, entry); + if (page_host_discards() && + unlikely(rc == VM_FAULT_MAJOR)) { + pte = pte_alloc_map(mm, pmd, address); + goto...
2007 Apr 18
4
[patch 3/9] Guest page hinting: volatile page cache.
...e_pte_fault(struc pte_t entry; pte_t old_entry; spinlock_t *ptl; + int rc; +again: old_entry = entry = *pte; if (!pte_present(entry)) { if (pte_none(entry)) { @@ -2343,9 +2376,16 @@ static inline int handle_pte_fault(struc if (unlikely(!pte_same(*pte, entry))) goto unlock; if (write_access) { - if (!pte_write(entry)) - return do_wp_page(mm, vma, address, + if (!pte_write(entry)) { + rc = do_wp_page(mm, vma, address, pte, pmd, ptl, entry); + if (page_host_discards() && + unlikely(rc == VM_FAULT_MAJOR)) { + pte = pte_alloc_map(mm, pmd, address); + goto...
2007 Jun 28
6
[patch 0/6] resend: guest page hinting version 5.
Greetings, after Carsten pitched CMM2 on the kvm mini summit here is a repost of version 5 of the guest page hinting patches. The code is still the same but has been adapted to the latest git level. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.
2007 Jun 28
6
[patch 0/6] resend: guest page hinting version 5.
Greetings, after Carsten pitched CMM2 on the kvm mini summit here is a repost of version 5 of the guest page hinting patches. The code is still the same but has been adapted to the latest git level. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.
2007 May 11
6
[patch 0/6] [rfc] guest page hinting version 5
After way to many months here is the fifth version of the guest page hinting patches. Compared to version four a few improvements have been added: - Avoid page_host_discards() calls outside of page-states.h - The discard list is now implemented via the page_free_discarded hook and architecture specific code. - PG_state_change page flag has been replaced with architecture specficic
2007 May 11
6
[patch 0/6] [rfc] guest page hinting version 5
After way to many months here is the fifth version of the guest page hinting patches. Compared to version four a few improvements have been added: - Avoid page_host_discards() calls outside of page-states.h - The discard list is now implemented via the page_free_discarded hook and architecture specific code. - PG_state_change page flag has been replaced with architecture specficic
2019 Aug 09
117
[RFC PATCH v6 00/92] VM introspection
The KVM introspection subsystem provides a facility for applications running on the host or in a separate VM, to control the execution of other VM-s (pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.), alter the page access bits in the shadow page tables (only for the hardware backed ones, eg. Intel's EPT) and receive notifications when events of interest have taken place
2019 Aug 09
117
[RFC PATCH v6 00/92] VM introspection
The KVM introspection subsystem provides a facility for applications running on the host or in a separate VM, to control the execution of other VM-s (pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.), alter the page access bits in the shadow page tables (only for the hardware backed ones, eg. Intel's EPT) and receive notifications when events of interest have taken place