Ignore:
Timestamp:
Apr 10, 2019, 10:09:39 AM (5 years ago)
Author:
alain
Message:

Fix a bug in the vmm_remove_vseg() function: the physical pages
associated to an user DATA vseg were released to the kernel when
the target process descriptor was in the reference cluster.
This physical pages release should be done only when the page
forks counter value is zero.
All other modifications are cosmetic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/libk/remote_rwlock.c

    r623 r625  
    251251        thread_t *  thread_ptr = GET_PTR( thread_xp );
    252252
     253printk("\n@@@ in %s : release first waiting writer[%x,%x]\n",
     254__FUNCTION__, thread_cxy, thread_ptr );
     255
    253256        // remove this waiting thread from waiting list
    254257        xlist_unlink( XPTR( thread_cxy , &thread_ptr->wait_xlist ) );
Note: See TracChangeset for help on using the changeset viewer.