Changeset b965f461 in rtems


Ignore:
Timestamp:
Jul 20, 2017, 5:25:55 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
1c256e6
Parents:
bb01a36
git-author:
Sebastian Huber <sebastian.huber@…> (07/20/17 05:25:55)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/20/17 05:26:27)
Message:

posix: Use unprotected chain operations

Operarations are already protected by mmap_mappings_lock.

Updates #2859.

Location:
cpukit/posix/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/src/mmap.c

    rbb01a36 rb965f461  
    372372  }
    373373
    374   rtems_chain_append( &mmap_mappings, &mapping->node );
     374  rtems_chain_append_unprotected( &mmap_mappings, &mapping->node );
    375375
    376376  mmap_mappings_lock_release( );
  • cpukit/posix/src/munmap.c

    rbb01a36 rb965f461  
    6464    if ( ( addr >= mapping->addr ) &&
    6565         ( addr < ( mapping->addr + mapping->len )) ) {
    66       rtems_chain_extract( node );
     66      rtems_chain_extract_unprotected( node );
    6767      /* FIXME: generally need a way to clean-up the backing object, but
    6868       * currently it only matters for MAP_SHARED shm objects. */
Note: See TracChangeset for help on using the changeset viewer.